Last active
September 1, 2016 01:05
-
-
Save hiraq/2077390237877f21b686637d51ea4fbe to your computer and use it in GitHub Desktop.
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
import requests | |
class ConsumeAPI(object): | |
ENDPOINT = 'http://api.provider.com' | |
def get(self): | |
return requests.get(self.ENDPOINT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment