Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/b/a/BaiduNetdiskPython-HEAD/BaiduOpenAPI/Baidu.py   BaiduNetdiskPython(Download)
from OpenApiError import OpenApiError
from BaiduUtils import BaiduUtils
from BaiduUtils import HttpObject
 
class Baidu():
        self.__api_client = None
        self.__logout_domain = 'https://openapi.baidu.com/connect/2.0/logout'
        self.__http_object = HttpObject()
        self.__utils = BaiduUtils()
 

src/b/a/BaiduNetdiskPython-HEAD/BaiduOpenAPI/BaiduOauth2.py   BaiduNetdiskPython(Download)
oauth client class
'''
from BaiduUtils import HttpObject
from OpenApiError import  OpenApiError
 
        self.__redirect_uri = redirect_uri
        self.__domain = 'https://openapi.baidu.com/oauth/2.0/'
        self.__http_object = HttpObject() 
 
    def get_authorize_url(self,  state = '',    scope = '',  display = 'page'): 

src/b/a/BaiduNetdiskPython-HEAD/BaiduOpenAPI/BaiduNetdisk.py   BaiduNetdiskPython(Download)
Netdisk client class
'''
from BaiduUtils import HttpObject
from OpenApiError import  OpenApiError
 
        self.__access_token = str(access_token)
        self.__domain = 'https://pcs.baidu.com/rest/2.0/pcs/'
        self.__http_object = HttpObject() 
    def quota(self):
        '''

src/b/a/BaiduNetdiskPython-HEAD/BaiduOpenAPI/BaiduApiClient.py   BaiduNetdiskPython(Download)
api client class
'''
from BaiduUtils import HttpObject
from OpenApiError import  OpenApiError
 
class BaiduApiClient(object):
    def __init__(self):
        self.__http_object = HttpObject()