Advertisement
Guest User

Untitled

a guest
Dec 9th, 2014
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1.     session_id = get_session_id()
  2.     name = "I can put anything I want here"
  3.     description = "but it wont work :("
  4.     values = '{"name": "%s", "description": "%s"}' % (name, description)
  5.     headers = {
  6.         'Accept': 'application/json',
  7.         'Content-Type': 'application/json'
  8.     }
  9.     url = "http://api.themoviedb.org/3/list?api_key=%s&session_id=%s" % (moviedb_key, session_id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement