Skip to main content

xivapi library

Project description

Pypi Pypi

xivapi-python

xivapi wrapper in python

Feel free to contact me at xivapi discord @iIKAze

Installation

pip install xivapi

Usage

import xivapi as XIVAPI

xivapi = XIVAPI.Client('YOUR_API_KEY')

Example

Find item information:

import asyncio

async def weapon_info(name):
    result = await xivapi.search(name)
    weapon_id = result['Results'][0]['ID']
    info = await xivapi.content('item', weapon_id)
    print(info)

loop = asyncio.get_event_loop()
loop.run_until_complete(weapon_info('Omega Torquetum'))

Project details


Download files

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

Files for xivapi, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size xivapi-0.1.0.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page