pinterest-login
Simple crate to login to Pinterest and get the cookies via Chromiumoxide to simulate a browser (open a real browser actually), to use the Pinterest API without needing a developer account or an API key or anything that costs money :).
Asynchronous, and uses async-std as the runtime by default (you can use tokio if you want)
WARNING: This project isn't officially supported by Pinterest, and it's not affiliated with Pinterest in any way.
Examples
With the async-std
runtime
use DefaultBrowserConfigBuilder;
use login;
use DefaultBrowserLoginBot;
async
use DefaultBrowserConfigBuilder;
use login;
use DefaultBrowserLoginBot;
use Duration;
async
With tokio
runtime
use DefaultBrowserConfigBuilder;
use login;
use DefaultBrowserLoginBot;
use Duration;
async
Features
async-std-runtime
: Use the async-std runtime instead of tokio (enabled by default)tokio-runtime
: Use the tokio runtime instead of async-stddebug
: Enable debug logging
Contributing
I'm happy to accept any contributions, just consider reading the CONTRIBUTING.md guide first. to avoid waste waste our time on some unnecessary things.
the main keywords are: signed commits, conventional commits, no emojis, linear history, the PR shouldn't have more than tree commits most of the time
License
This project is licensed under ether the MIT license or the Unlicense license, you can choose which one you want.
This project is part of the pinterest-rs project
License: MIT OR Unlicense