unownone / Tweety.py

A End to End no-code Twitter Bot Api built on top of tweepy and fastapi
MIT License
4 stars 4 forks source link
fastapi hacktoberfest mongodb python twitter

Tweety.py

deployed on Heroku

A End to End no-code Twitter Bot Api

Ever wanted to automate marketing with twitter? Well, now you can!

Using Tweety.py's Fast API Now you can do that and much more !

Demo

Tweety.Py

Features Currently:

API ENDPOINTS:

Want Better Documentation ?
Use FastAPI's Swagger UI :docs

/auth : Signup/Login to the tweety.py

/signup : [POST]
    body: {
        "name":"",
        "email": "",
        "password": ""
    }
/login : [POST]
    body: {
        "email": "",
        "password": ""
    }
    returns : {
        "access_token":"",
        "refresh_token":""
    }
/user : [GET] Get current user

/bot : Use the Bot

/twitter: [GET] Connect twitter account to tweetypy account.

returns : Twitter URL to connect to
/twitter-callback-url: [GET] Twitter Callback url to finish Oauth `DANCE`.

/commentbot: [POST] Comment Bot to comment on posts
body: {
    {
    "tags": [
        "string"  // stores hashtags and keywords
    ],
    "scripts": [
        "string" // stores list of strings to
                //be sent as comment randomly
    ],
    "nums": 0   // count of comments to be sent in total.
    }
}

Running on Local / forking.

Your App will be running on LocalHost.

ENV DETAILS :

have a .env file in root that will contain these values:

Built using FastAPI , MongoDB , Heroku