Skip to main content

archive.moe Search REST API Library

Project description

MoeSearch
=========

A stupid Python library for [archive.moe](https://archive.moe) (ex FoolzArchive) REST API.

Useless binaries included.

BEWARE
------

This software is experimental, use it at your own risk.
For those who want to try this...
[PyPI archive](https://pypi.python.org/pypi/moesearch/)

Quickstart
--------

(You can check the executables in /bin folder).
FoolFuuka docs are [at foolz.us](http://www.foolz.us/docs/foolfuuka/documentation.html#rest-api)
```py
>>> import moesearch
>>> print(moesearch.search(text="woxxy")[2].comment)
>>112732805
Fuck Woxxy.
>>> print(moesearch.index("a", 1)["112834776"].op.media.media_link)
http://data.archive.moe/board/a/image/1366/74/1366741186747.jpg
>>> print(moesearch.post("a", 112766871).board.short_name)
"a"
>>> print(moesearch.thread("a", 112800651).posts[0].comment)
>>112800651
I fucking went grocery shopping all the time when I was a kid. I didn't have qt lesbian friends to go with though.
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moesearch-0.1.2.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page