Skip to main content

Logo

France Leader

A Galaxy Life API requester in Python

Join Discord of France Leader Join Discord of Galaxy Life Galaxy Life API python requester

Galaxy Life Python Api Requester

A simple pip package to make request on the Galaxy Life game API.

Installation

pip install gl-api-requester

Usage

from gl_api_requester import *

try:
	requester = GLAPIRequester()

	# Alliance request
	requester.get_alliance(name="France Leader")
	requester.get_alliance_warpoint_leaderboard()

	# Leaderboard request
	requester.get_leaderboard_xp()
	requester.get_leaderboard_xp_from_attack()
	requester.get_leaderboard_rivals_wons()
	requester.get_leaderboard_warpoint()

	# Status request
	requester.get_status()

	# Users request
	requester.get_user_from_name('vadeledav')
	requester.get_user_from_id(player_id="268172")
	requester.get_search_user_by_name(player_name="vadeledav")
	requester.get_user_steam_account(player_id=76561198403360223)
	requester.get_user_platform_id(player_id=268172)
	requester.get_user_stats(player_id="268172")
	requester.get_user_count()

except APIErrorException as e:
	print(e.api_error)

Metadata

Release files for gl-api-requester 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gl-api-requester 1.0.1
File Size Uploaded Provenance
gl-api-requester-1.0.1.tar.gz 7.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gl-api-requester 1.0.1
File Interpreter ABI Platform
gl_api_requester-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / gl-api-requester-1.0.1.tar.gz

Download URL gl-api-requester-1.0.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1bb2bccf9569b4b1ba48f9d0cd1e3afd9b874ddac9ee1edecf4f6aff0afe923a
BLAKE2b-256 checksum
How to use checksums
855c0ce67e8da952aeb4e081f41a09298e69dbae09e19a1997562910ddf672e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / gl_api_requester-1.0.1-py3-none-any.whl

Download URL gl_api_requester-1.0.1-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e27b30829c4da6366164892503a29d06d39a7983560ec34a698d24207a863c8
BLAKE2b-256 checksum
How to use checksums
f8c8568b75eee37d94d5b42e6c5e0c19ece64d4da86ba77746ae27cf2c54c5c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for gl-api-requester 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page