Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
xivapi-0.1.0.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page