Skip to main content

py-myaskapi

Description

This library makes it easy to interface with MyAskAPI's API.

Installation

Simplue install using pip or your favorite package management tools.

pip install py-myaskapi

This will install the Requests library.

Usage

You can initialize it like this:

ma = myask_api.MyAskAPI(
    api_url='https://myaskai.com/api/1.1/wf/',
    client_id=settings.MYASK_AI_ID,
    api_key=settings.MYASK_AI_API_KEY)
# Now let's push some content to the API
ma.content(
    file_url=f'https://example.com/example-page/?version=json',
    meta_title='Example Page 101',
    meta_author='Ed Menendez',
    meta_link=f'https://example.com/example-page/',
)

Note: You should store your API keys outside of the code repository.

Credits

Thank you to LearnWPT for permitting publishing of this code.

License

MIT License

How to Contribute

Feel free to submit a PR. Test scripts would be nice! Please see Contributor Covenant for our code of conduct.

Metadata

Release files for py-myaskapi 1.0.0

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

Source distribution (sdist)

Source distribution for py-myaskapi 1.0.0
File Size Uploaded
py-myaskapi-1.0.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-myaskapi 1.0.0
File Interpreter ABI Platform
py_myaskapi-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / py-myaskapi-1.0.0.tar.gz

Download URL py-myaskapi-1.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e9f21e3643f52afdb4b5ca69922a8af31b6faab1e924d7a6dc11d2c9f4ed42a6
BLAKE2b-256 checksum
How to use checksums
ff6ef6fdcf15fde6ba85bd9e821473f69562a51cfdb4890f014cddd10cd0e0c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / py_myaskapi-1.0.0-py3-none-any.whl

Download URL py_myaskapi-1.0.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac25de391f205878d0a76505cea0a23a27750bccec9c44713302cfa773f0895b
BLAKE2b-256 checksum
How to use checksums
d1a93806f4b83034f3eb4c9fdbf9381c30a11b221961e3344d43f4c4a6eac384
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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