我在阅读用户订阅时遇到了一些问题。
正如我在 api 文档中所读到的,我必须发送以下请求:
获取https://api.flattr.com/rest/v2/user/subscriptions
之后,我收到了回复,但内容很奇怪:
[{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"thing"},{"type":"subscription","active": false,"created_at":null,"started_at":0,"thing":"https://api.flattr.com/rest/v2/things/3951323"},{"type":"subscription","active ":false,"created_at":null,"started_at":0,"thing":"https://flattr.com/thing/3951323"},{"type":"subscription","active":false, "created_at":null,"started_at":0,"thing":3951323},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing": “http://www.gramocast。net/flattr"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":1},{"type":"subscription","活动“:假”,“created_at”:null,“started_at”:0,“事物”:1},{“类型”:“订阅”,“活动”:假,“created_at”:null,“started_at”:0 ,"thing":"gramocast"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":""},{"type": "subscription","active":false,"created_at":null,"started_at":0,"thing":[]},{"type":"subscription","active":false,"created_at":null ,"started_at":0,"thing":"en_GB"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"software"} ,{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":1425413536},{"type":"subscription","active":false, "created_at":null,"started_at":0,"thing":{"type":"user","resource":"https://api.flattr.com/rest/v2/users/gramocast","链接":"https://flattr.com/profile/gramocast","id":"jy3lmA","用户名":"gramocast"}},{"type":"subscription","active":false, "created_at":null,"started_at":0,"thing":0},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":" "},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":true},{"type":"subscription","active": false,"created_at":null,"started_at":0,"thing":true}]'事情“:true},{“类型”:“订阅”,“活动”:false,“created_at”:null,“started_at”:0,“thing”:true}]'事情“:true},{“类型”:“订阅”,“活动”:false,“created_at”:null,“started_at”:0,“thing”:true}]'
我有一份 gramocast 的有效订阅。这是flattr api中的错误还是我做错了什么?
谢谢你的帮助。