![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A Python API for accessing your Leap Card balance, overview, and travel credit history.
An unoffical Python API for accessing your Leap Card balance, overview, and travel credit history. Underneath the hood, pyleapo uses Scrapy to retrieve its data and therefore brings you an additional suite of options to utilise further if necessary.
Simply:
pip install pyleapo
There are three modules to choose from, the samples below showcase each of them one by one.
Retrieves a card's overview information such as the current balance and more.
from pyleapo.overview import get_card_overview
overview = get_card_overview(username='', password='')
print(overview)
{
'auto_topup': '...',
'card_expiry_date': '...',
'card_issue_date': '...',
'card_label': '...',
'card_number': '...',
'card_status': '...',
'card_type': '...',
'travel_credit_balance': '...',
'travel_credit_status': '...'
}
Retrieves a card's travel credit history as far as it goes back.
from pyleapo.history import get_card_history
history = get_card_history(username='', password='')
print(history)
[
{
'amount': '...',
'balance': '...',
'date': '...',
'source': '...',
'time': '...',
'transaction_type': '...'
},
...
]
Retrieves both the overview and history of a card all in one.
from pyleapo.aio import get_card_overview_and_history
both = get_card_overview_and_history(username='', password='')
print(both)
{
'overview': {
'auto_topup': '...',
'card_expiry_date': '...',
'card_issue_date': '...',
'card_label': '...',
'card_number': '...',
'card_status': '...',
'card_type': '...',
'travel_credit_balance': '...',
'travel_credit_status': '...'
},
'events': [
{
'amount': '...',
'balance': '...',
'date': '...',
'source': '...',
'time': '...',
'transaction_type': '...'
},
...
]
}
FAQs
A Python API for accessing your Leap Card balance, overview, and travel credit history.
We found that pyleapo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.