Usage
Note Client can automate the posting of articles on note. The content of the articles is written using Markdown notation.
We are currently releasing a beta version. In the beta version, you can use major headings, minor headings, bullet points, paragraph numbers, and horizontal lines. With future updates, customization such as bold text and quotations as well as the insertion of tables of contents will be available.
Note Client's source code is made available under the MIT license.
PyPI page for this project.
Documentation
Requirements
- Python >= 3.7
Installation
pip install NoteClient
Quick Example
from note_client import Note
EMAIL = 'your email'
PASSWORD = 'your password'
USER_ID = 'your user_id'
TITLE = 'Sample'
CONTENT_PATH = 'content.txt'
TAG_LIST = ['sample_tag']
# > If an image is specified, the index number is entered; if not, no description is given.
# INDEX = 0
# > True if the article is to be published, False if the article is to be saved as a draft; if not specified, the article is saved as a draft.
# POST_SETTING = True
# > True if the execution screen is not displayed, False if it is displayed, or not displayed if not specified.
# HEADLESS = False
# To specify the above three options, add them to the function arguments.
note = Note(email=EMAIL, password=PASSWORD, user_id=USER_ID)
print(note.create_article(title=TITLE, file_name=CONTENT_PATH, input_tag_list=TAG_LIST, image_index=None))
## If successful(Public).
# {'run':'success','title':'Sample','file_path':'content.txt','tag_list':['sample_tag'],'post_setting':'Public','post_url':'https://note.com/USER_ID/n/abc123'}
## If successful(Draft).
# {'run':'success','title':'Sample','file_path':'content.txt','tag_list':['sample_tag'],'post_setting':'Draft'}
## If unsuccessful.
# 'Required data is missing.'
Sample
Help
If you would like to make an enquiry about NoteClient, click here.
Metadata
Release files for NoteClient 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| noteclient-0.2.1.tar.gz | 5.9 kB | Without provenance | Details for noteclient-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| NoteClient-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for NoteClient-0.2.1-py3-none-any.whl |
Total release size: 12.1 kB
Release files / noteclient-0.2.1.tar.gz
| Download URL | noteclient-0.2.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47fc59a0b43d9a74fd9551e0f9038459eeff218c5ff6f33bc9b07cf370468146
|
|
BLAKE2b-256 checksum How to use checksums |
1fead287edba728b9a755a1d72420e7836794fead8b7445b4dc57890991e551e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.9
|
Release files / NoteClient-0.2.1-py3-none-any.whl
| Download URL | NoteClient-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e30c50367183ac838fc5dc2afb611d6c5b0f8a5b3dca88395be9af8654fe9e7e
|
|
BLAKE2b-256 checksum How to use checksums |
84e8bcbcedba876fa49b8ed5183d09b27787ae923972d5627ed5f5c733f2f1d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.9
|
Security for NoteClient 0.2.1
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.