Skip to main content

archive.moe Search REST API Library

Project description

MoeSearch
=========

A Python library for [desuarchive.org](https://desuarchive.org/), [RebeccaBlackTech](https://rbt.asia), [archive.4plebs.org](https://archive.4plebs.org) REST API.

Helpful binaries included.

Quickstart
--------

(You can check the executables in /bin folder).
FoolFuuka API docs are available [at 4plebs.org.](https://4plebs.tech/foolfuuka/).
```py
>>> import moesearch
>>> print(moesearch.search(archiver_url="https://desuarchive.org", board="a", text="woxxy")[2].comment)
>>112732805
Fuck Woxxy.
>>> print(moesearch.index("https://desuarchive.org", "a", 1)["112834776"].op.media.media_link)
http://cdn2.desu-usergeneratedcontent.xyz/a/image/1366/74/1366741186747.jpg
>>> print(moesearch.post("https://desuarchive.org, ""a", 112766871).board.short_name)
a
>>> print(moesearch.thread("https://desuarchive.org", "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.
```

LICENSE
-------

```
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.
```

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.3.0.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file moesearch-0.3.0.tar.gz.

File metadata

  • Download URL: moesearch-0.3.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for moesearch-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e12bb2f44bfa9d39220fb1dd2d2aeefd1c2f13fa0630e9d517adfcc08532f1f3
MD5 af9561639c4674bba87d04dfbb633311
BLAKE2b-256 5585e241a247f17ad40949ce2d629f602c5cd23c97cef0ee8b8ab81d1edf3afd

See more details on using hashes here.

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