Imgur的api不让我拥有标签的ID

时间:2018-09-19 04:55:28

标签: api imgur

curl --request GET \
  --url https://api.imgur.com/3/tags \
  --header 'Authorization: Client-ID {{my_client_id}}'


{
    "data": {
        "tags": [
            {
                "name": "bongo_cat",
                "display_name": "bongo cat",
                "followers": 2127,
                "total_items": 161,
                "following": false,
                "background_hash": "GEpMqov",
                "thumbnail_hash": null,
                "accent": "1E5F43",
                "background_is_animated": false,
                "thumbnail_is_animated": false,
                "is_promoted": false,
                "description": "",
                "logo_hash": null,
                "logo_destination_url": null,
                "description_annotations": {}
            },
            {
                "name": "unmuted",
                "display_name": "unmuted",
                "followers": 12830,
                "total_items": 3279,
                "following": false,
                ...

我需要ID才能输入标签的内容。

像此示例https://apidocs.imgur.com/#fbf4474f-5944-4535-80e8-c3219da0b643

谢谢。

0 个答案:

没有答案