Last active
November 8, 2015 16:08
-
-
Save AKB428/4d8aef2fc234dd5cab3f to your computer and use it in GitHub Desktop.
放映中のアニメ作品の情報を提供するAnime RESTful API サーバー作りました ref: http://qiita.com/AKB428/items/64938febfd4dcf6ea698
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$curl http://api.moemoe.tokyo/anime/v1/master/cours | jq . | |
{ | |
"4": { | |
"id": 4, | |
"year": 2014, | |
"cours": 4 | |
}, | |
"5": { | |
"id": 5, | |
"year": 2015, | |
"cours": 1 | |
}, | |
"6": { | |
"id": 6, | |
"year": 2015, | |
"cours": 2 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://api.moemoe.tokyo/anime/v1/master/2015 | jq . | |
[ | |
{ | |
"id": 124, | |
"title": "幸腹グラフィティ" | |
}, | |
{ | |
"id": 125, | |
"title": "銃皇無尽のファフニール" | |
}, | |
{ | |
"id": 126, | |
"title": "冴えない彼女の育てかた" | |
}, | |
{ | |
"id": 127, | |
"title": "暗殺教室" | |
}, | |
{ | |
"id": 129, | |
"title": "探偵歌劇ミルキィホームズTD" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://api.moemoe.tokyo/anime/v1/master/2015/2 | jq . | |
[ | |
{ | |
"title_short2": "", | |
"twitter_account": "saenai_heroine", | |
"public_url": "http://www.saenai.tv/", | |
"title_short1": "冴えカノ", | |
"sex": 0, | |
"twitter_hash_tag": "saekano", | |
"id": 126, | |
"sequel": 0, | |
"created_at": "2015-01-08 09:37:01.0", | |
"cours_id": 5, | |
"title": "冴えない彼女の育てかた", | |
"title_short3": "", | |
"updated_at": "2015-01-08 09:37:01.0" | |
}, | |
{ | |
"title_short2": "", | |
"twitter_account": "ansatsu_anime", | |
"public_url": "", | |
"title_short1": "暗殺教室", | |
"sex": 0, | |
"twitter_hash_tag": "暗殺教室", | |
"id": 127, | |
"sequel": 0, | |
"created_at": "2015-01-08 09:38:00.0", | |
"cours_id": 5, | |
"title": "暗殺教室", | |
"title_short3": "", | |
"updated_at": "2015-01-08 09:38:00.0" | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment