Metadata-Version: 2.1
Name: py-myaskapi
Version: 1.0.0
Summary: Simple interface to the MyAsk API.
Home-page: https://github.com/edmenendez/py-myaskapi
Author: Ed Menendez
Author-email: ed@menendez.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# py-myaskapi

## Description
This library makes it easy to interface with MyAskAPI's [API](https://myaskai.com/api-docs#!).

## Installation
Simplue install using pip or your favorite package management tools.

    pip install py-myaskapi
This will install the [Requests](https://pypi.org/project/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](https://learnwpt.com/) 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](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) for our code of conduct.
