Advertisement
Guest User

Untitled

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