Memrise API
Project description
Memrise API
Installation
python -m pip install PyMemAPI
Major Features
- API Memrise with some actions such as create new level, add bulk, rename level, ...
- Automaticially generate the audio and upload to Memrise
- Automaticially translate, get the International Phonetics Alphabet from database and sync with Memrise
Documentations
The library have 3 main classes Memrise
, Course
and SQLite
.
Memrise
Memrise object will control your connection to Memrise. It's required your username and password to take permissions. And then it'll grant the necessary permission for the further process.
class Memrise:
username: str = field(init=False)
password: str = field(init=False)
session: requests.Session = requests.Session()
def login(self, username, password) -> bool: ...
def courses(self) -> List[Course]: ...
def get(self, path: str, params: Optional[Dict[str, Any]] = None): ...
def post(
self,
path: str,
payload: Dict[str, Any],
headers: Dict[str, str],
files: Optional[Dict[str, Tuple[str, bytes, str]]] = None,
) -> requests.Response: ...
def select_course(self) -> Course: ...
Course
SQLite
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyMemAPI-0.1.0rc0.tar.gz
(14.3 kB
view details)
Built Distribution
File details
Details for the file PyMemAPI-0.1.0rc0.tar.gz
.
File metadata
- Download URL: PyMemAPI-0.1.0rc0.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd48aac928ad4c96e6fe49f8f270af36db2975325843209ceb710def3925f80 |
|
MD5 | 6a08fe806d0372e51ed734e2e210679b |
|
BLAKE2b-256 | 4ce81bab4aecdda5a5403c166ff32fec80c0daa8ecb2d762ec87364d3e318c41 |
File details
Details for the file PyMemAPI-0.1.0rc0-py3-none-any.whl
.
File metadata
- Download URL: PyMemAPI-0.1.0rc0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80a27237c492d87058fd2c21e80b568876fe79f626f2b879d37398fd54cc9f06 |
|
MD5 | 3ddf55fcf78081ba76bb7d1956f286b6 |
|
BLAKE2b-256 | 23a2ec3221afaca49a6f4b3e1c57768943c6627a7ac67821229d12ae65cb695c |