Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- #informação de um anime. (anime info)
- code = {'code':'código obitido na busca do anime no /search'}
- r = requests.post('https://www.my-muffy.ml/api/anime/anime', data={'key':'{apikey}', 'code':'{code}'})
- print(r.json())
- #informações de anime que saem dia x. (anime release)
- days = {'1':'seg', '2':'ter', '3':'qua', '4':'qui', '5':'sex', '6':'sab', '7':'dom'}
- r = requests.post('https://www.my-muffy.ml/api/anime/release', data={'key':'{apikey}', 'day':'{day}'})
- print(r.json())
- #buscar animes. (anime search)
- search = {'search':'bleach'}
- r = requests.post('https://www.my-muffy.ml/api/anime/search', data={'key':'{apikey}', 'search':'{search}'})
- print(r.json())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement