google / google/fonts

Icons metadata on Google Fonts API is not a valid JSON

Open
#7,586 0 comments 0 reactions 0 assignees View on GitHub
I API / Website / Platform I Request I Tools / workflow / repo
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

**Describe the issue**
The Icons metadata returned by https://fonts.google.com/metadata/icons is not a valid JSON as it contains some random characters in the first line. Is this an expected behaviour?

**To Reproduce**
Download https://fonts.google.com/metadata/icons.

**Expected behavior**
Return a valid JSON

**Additional context**
*None*

**Screenshots**
The first lines of the returned data:
```json
)]}'
{
"host": "fonts.gstatic.com",
"asset_url_pattern": "/s/i/{family}/{icon}/v{version}/{asset}",
"families": [
"Material Icons",
"Material Icons Outlined",
"Material Icons Round",
"Material Icons Sharp",
"Material Icons Two Tone"
],
"icons": [
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.