Skip to content
This repository was archived by the owner on Oct 13, 2020. It is now read-only.
This repository was archived by the owner on Oct 13, 2020. It is now read-only.

strange json format #9

@ihartaras

Description

@ihartaras

Hello
oauth works
and I get responds from Etsy API, thanks

However I get a file with strange json format

for example this request
etsy.getUser (user_id = "ndbeylss")
saves a json like this
[{'user_id': 147441992, 'login_name': 'ndbeylss', 'creation_tsz': 1522924784, 'referred_by_user_id': None, 'feedback_info': {'count': 48, 'score': 100}}]
it is impossible to use the parser and checks from third-party services give errors

If I just make the same request in the browser:
https://openapi.etsy.com/v2/users/ndbeylss?api_key=xxxxxxxxxxxx
I will get this code
{"count": 1, "results": [{"user_id": 147441992, "login_name": "ndbeylss", "creation_tsz": 1522924784, "referred_by_user_id": null, "feedback_info": {"count": 48, "score": 100}}], "params": {"user_id": "ndbeylss"}, "type": "User", "pagination": {}}

Maybe I missed something?
would appreciate help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions