semvec/pypi-packages huggingface dataset:
loopialib 0.2.0
A pythonic interface to Loopia's XMLRPCAPI
License: MIT

Loopia API
==========
This is an unofficial pythonic implementation of
`Loopia's API <https://www.loopia.se/api/>`_. The default implementation is
XMLRPC-based and leaves a lot of error handling to the end user. This
implementation wraps that API which manages responses for you.


Documentation
-------------
This is alpha state software, and I haven't bothered with documentation yet.


Development
-----------
I have only implemented the features I need personally. As I need more features
I will add them. Pull requests are welcome.


But, there is another project already!
--------------------------------------
Yes, `loopia by anderspetersson <https://github.com/anderspetersson/loopia-python-api>`_
and the similar `loopiadnssync by Peter Lindblom <https://github.com/plwebse/loopiadnssync>`_.
The second does however use Loopia's DynDNS API. I know these implementations
but rolled my own because I enjoy writing these kinds of libraries. Choose
whichever you like.


Changelog
---------

Version 0.2.0
~~~~~~~~~~~~~
Released 21 August 2017

- Added helper ``split_domain`` for separating domain and sub-domain
- Added support for ``getDomain``
- Added support for ``getDomains``
- Fixed a problem where errors would not get raised on some types of API calls


Version 0.1.0
~~~~~~~~~~~~~
Released 2nd November 2016

- Initial release
albion-api-client 0.1.0
An API client for Albion Online written in Python.
License: MIT
Keywords: api

# albion-api-client
An API client for Albion Online written in Python.

Disclaimer
------------
This API client uses Albion Online's unofficial API. The API is unstable and may change at any time. New endpoints will be added as they are discovered.

Installation
------------
To install from pip:

    pip install albion-api-client

To install from source:

    python setup.py install


Usage
-----
```
from albion_api_client import AlbionAPI

client = AlbionAPI()

player_id = client.get_player_id('Snaxxor')
# Gets first matching player's id
player_kills = client.get_player_topkills(player_id)
# Gets the players most recent 11 kills in the last week (default)
player_solo_kills = client.get_player_solokills(player_id, limit=50, _range='month')
# Gets the players most recent 50 solo kills over the last month

guild_id = client.get_guild_id('Awful Company')
# Gets first matching guild id
guild_info =  client.get_guild_info(guild_id)
# Gets basic guild information
guild_data = client.get_guild_data(guild_id)
# Gets basic guild information and GvG data, top players, and kill fame
```