duoduoeeee / genuine-shields-human

provides a "framework" so that one can easily set up his own svg badge service with PHP.
MIT License
3 stars 0 forks source link

Netease Music integration #1

Open duoduoeeee opened 6 years ago

duoduoeeee commented 6 years ago

It seems that there are problems parsing json the Netease API returns. Seems that the interpreter regards arrays as objects.

Any contribution is welcomed. Please submit issues or pull requests to help me with this project. Thank you.

duoduoeeee commented 6 years ago

Discovered that if a json string is included in a variable, the parser will be doing a good job. But if a json is retrieved by php get_file_contents function, there'll be an error.

That's pretty weird