Skip to content

Instantly share code, notes, and snippets.

@jorgemdnt
Created October 16, 2016 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorgemdnt/85c3d7e898500acca396219483f64f7c to your computer and use it in GitHub Desktop.
Save jorgemdnt/85c3d7e898500acca396219483f64f7c to your computer and use it in GitHub Desktop.
# coding=utf-8
import requests
class StarWarsGatewaySWAPI(object):
URL = 'http://swapi.co/api/'
def buscar_dados(self):
return requests.get(self.URL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment