This file contains hidden or 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 json | |
import requests | |
from time import time | |
class OAuthClient: | |
def __init__(self, server, client_id, client_secret, grant_type, scope): | |
self.server = server | |
self.client_id = client_id | |
self.client_secret = client_secret |
This file contains hidden or 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 locale | |
from math import log10 | |
def sexify(value): | |
""" | |
formats the float value to indian money format | |
:param value: | |
:return: | |
""" |
NewerOlder