
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
This is a Python client for the Open Pinball Database API.
pip install open-pinball-db
import open_pinball_db
opdb_client = open_pinball_db.Client()
# Start using the client
import open_pinball_db
opdb_client = open_pinball_db.Client()
opdb_client.get_changelog()
Parameter | Type | Description |
---|---|---|
q | str | The search query |
include_aliases | bool | Whether to include aliases in the search. Default is True |
include_groups | bool | Whether to include groups in the search. Default is False |
import open_pinball_db
opdb_client = open_pinball_db.Client()
opdb_client.typeahead_search('The Addams Family')
Get your free api key at Open Pinball Database.
Parameter | Type | Description |
---|---|---|
q | str | The search query |
require_opdb | bool | Limit results to machines with OPDB ids. Defaults to True |
include_aliases | bool | Whether to include aliases in the search. Default is True |
include_groups | bool | Whether to include groups in the search. Default is False |
include_grouping_entries | bool | Whether to include grouping entries in the search. Default is False |
import open_pinball_db
opdb_client = open_pinball_db.Client(api_key="your_secret_api_key")
opdb_client.search('The Addams Family')
Parameter | Type | Description |
---|---|---|
opdb_id | str | The IPDB ID of the machine |
import open_pinball_db
opdb_client = open_pinball_db.Client(api_key="your_secret_api_key")
opdb_client.get_machine("OPDB-ID")
Parameter | Type | Description |
---|---|---|
ipdb_id | int | The IPDB ID of the machine |
import open_pinball_db
opdb_client = open_pinball_db.Client(api_key="your_secret_api_key")
opdb_client.get_machine_by_ipdb_id(1234)
Export all machines and aliases into a big json document. According to the OPDB API docs this endpoint is rate limited to once every hour.
import open_pinball_db
opdb_client = open_pinball_db.Client(api_key="your_secret_api_key")
opdb_client.export_machines_and_aliases()
Export all machine groups as a single JSON document.
import open_pinball_db
opdb_client = open_pinball_db.Client(api_key="your_secret_api_key")
opdb_client.export_machine_groups()
The client can raise the following exceptions:
Exception | Description |
---|---|
OpdbError | Base exception class for all exceptions |
OpdbMissingApiKey | Raised when trying to access private parts of the OPDB API without an API key |
OpdbHttpError | Raised upon http errors. Contains status code and message. |
OpdbTimeoutError | Raised upon timeout errors. |
FAQs
An open pinball database client for Python
We found that open-pinball-db 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
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.