Metadata-Version: 2.4
Name: save-page-now-api
Version: 0.1.1
Summary: A Python wrapper for the Internet Archive's Save Page Now API.
Home-page: https://github.com/bac0id/save-page-now-api
Author: bac0id
Author-email: ji2b13y6i@mozmail.com
Keywords: internet archive save page now api web archiving
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# save-page-now-api
 A wrapper for Internet Archive Wayback Machine's Save Page Now API.

## Usage

```python
from save_page_now_api import SavePageNowApi

api = SavePageNowApi(token="XXX:YYY")
result = api.save("https://example.com")

print(result)
"""
{
    'url': 'https://example.com',
    'job_id': 'spn2-XXXXXXXXXXXXXX'
}
"""
```

## Installation

```bash
pip install save-page-now-api
```

## Test
```bash
python -m unittest
```
