Skip to main content

Fanfou SDK in Python

Project description

https://travis-ci.org/j178/van.svg?branch=master https://badge.fury.io/py/van.svg https://img.shields.io/badge/python-3.5-blue.svg https://img.shields.io/badge/license-MIT-blue.svg https://badges.gitter.im/fanfou-cli2/Lobby.svg

Example

from van import Fan, Config


# 1. Subclass the ``Config`` class and offer your configs
class MyConfig(Config):
    consumer_key = 'xxxx'
    consumer_secret = 'xxxx'


# 2. Instancialize the ``Fan`` class
me = Fan(MyConfig())
# 3. call methods of ``me``
me.update_status('你好啊,李银河!')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

van-0.0.2.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

van-0.0.2-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page