Skip to main content

Unofficial Milanote API for Python

GitHub PyPI - Python Version


This is an unofficial api for Milanote. It can be used to automate planned tasks on Milanote.
It is not affiliated with Milanote in any way.


Disclaimer:

Please do not use this to spam or do anything illegal.
I am not responsible for any misuse of this library.

Table of Contents


Documentation


Documentation can be found here.

Installation


pip install milanote-unofficial-api

Quickstart


How to get headers and cookies

  1. Login your Milanote account in your browser and go to home page.
  2. Open the developer tools (F12) and go to the network tab.
  3. Filter the results by Fetch/XHR and reload the page.
  4. You should see a request to me. Right click on it and click Copy -> Copy as cURL (bash).
  5. Go to curlconverter.com and paste the copied text.
  6. Get the headers and cookies from the generated code.
  7. Now you can use the headers and cookies in the example below.

Example usage


from MilanoteUnofficialApi import MilanoteApi

my_headers = {...}
my_cookies = {...}

api = MilanoteApi(headers=my_headers, cookies=my_cookies)

# Get the user's home board.
home_board = api.get_home_board()

# Get the board by id.
my_board = api.get_board_by_id("1Pwm1W1wCvBF4C")

# Get the sub elements of the board.
for board in my_board.elements["BOARD"]:
    api.get_board_elements(board)

if(my_board.elements["TASK"]):
    for task in my_board.elements["TASK"]:
        print(task.text_content,
              "completed" if task.is_complete else "not completed")

Metadata

Release files for milanote-unofficial-api 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for milanote-unofficial-api 1.0.0
File Size Uploaded Provenance Actions
milanote-unofficial-api-1.0.0.tar.gz 8.0 kB Without provenance Details for milanote-unofficial-api-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for milanote-unofficial-api 1.0.0
File Interpreter ABI Platform Actions
milanote_unofficial_api-1.0.0-py3-none-any.whl Python 3 none any Details for milanote_unofficial_api-1.0.0-py3-none-any.whl

Total release size: 23.2 kB

Release files / milanote-unofficial-api-1.0.0.tar.gz

Download URL milanote-unofficial-api-1.0.0.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0ebcaa18fc9f3160acd70a284e792dacc48b57ab6ce74730a1087f0fd83c751b
BLAKE2b-256 checksum
How to use checksums
5f01e8e39dcb6b437c98fc2923cbcc7b46cf6d45786762d98251acf7052fc51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / milanote_unofficial_api-1.0.0-py3-none-any.whl

Download URL milanote_unofficial_api-1.0.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd48625b6be13fc2f1ddaf4fb7fc0fbad600962075bfe2a672030b6cd3b80130
BLAKE2b-256 checksum
How to use checksums
f97042c47c03298284dbe676750f0a652151f07ee476908cd88db70dd6f793b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Security for milanote-unofficial-api 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page