Python module for interacting with the MidJourney API
Project description
PyJourney
A python module for calling the Midjourney API.
Installation
pip install pyjourney
Usage
from pyjourney import MidjourneyAPI
api = MidjourneyAPI() #Loads your cookie and userId from the .env file (required for now.)
request = api.recent_jobs() # Defaults to fetching the most recent 35 jobs you've done.
print(request.status_code)
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
pyjourney-0.1.0.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file pyjourney-0.1.0.tar.gz
.
File metadata
- Download URL: pyjourney-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee97b1ae99491fc36771bc9bf257bce5da2fd7275cc9667844e5d39ef5d56771 |
|
MD5 | 5fb8f3e7fbcbfbf18ad87eb65aeb206a |
|
BLAKE2b-256 | 66b6f80b4657d14eaed3371779001fc891da6e74296ca6803ab4f2081f3a4ed5 |
File details
Details for the file pyjourney-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyjourney-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c160ca77227c860829ec97b96a441de23cf94ea880ac9c9e2c51178f1bb9055 |
|
MD5 | e597e97b243d9e34a5946e462be498b5 |
|
BLAKE2b-256 | 94badb3fd4de3c11a5662304127b9fb9680b325792b45da5df9d501b7ce2f0f4 |