Avangate Rest API Client

Python API client for the Avangate service.

Installation

pip install avangate_rest_api_client

Usage Example

Retrieve an order

Retrieve details on a specific order using its unique, system generated reference.

import requests
from avangate_rest_api_client import Client

try:
    client = Client(merchant_code='MERCHANT_CODE', api_secret_key='API_SECRET_KEY')
    client.set_base_url(base_url='https://api.avangate.com/rest/3.0/')
    request = client.get('orders/111111/')
    print(request.json())
except requests.RequestException as e:
    print("Failed to send requests: {}".format(e))

https://github.com/onursa/avangate_rest_api_client

tweetsplitter

TweetSplitter, 140 karakterin üstündeki tweetlerinizi isminden anlaşılacağı gibi parçalayarak atmaya yarar. Aşağıdaki komutlar yardımıyla kurulumu yapabilirsiniz.

Kurulum

git clone https://github.com/onursa/tweetsplitter.git
cd tweetsplitter/
pip install -r requirements.txt
python manage.py syncdb
python manage.py runserver