GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - unkn0wnvariable/Python-Twitter: Using the Twitter API with Python (via Twython).

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
Python-Twitter
Python-Twitter
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Python-Twitter

Using the Twitter API with Python (via Twython).

Description

This started as me playing with using Twitter from the CLI of a Raspberry Pi, and expanded from there into whether I could use Python and the API to do some semi-automated management of lists. The plan was to do more, and I may well do one day, but for now I haven't had the time.

I've now decided to tidy up my code and make it public, since others may find it useful.

Prerequisites

A great Python to Twitter API module has been created in the form of Twython, so rather than spend ages trying to make my own interface I have simply used that.

You can install Twython using pip install twython.

There may be other Python modules I'm using which aren't part of the standard install, I'll track them down and add them here as I go.

API Details File

I use a seperate file for my API details which, for obvious reasons, I exclude from my public repository. It therefore needs to be created and populated with your own API credentials.

The file is called TwitterAPIDetails.py and contains the following:

# Twitter API and Access keys
apiKey = ''
apiSecret = ''
accessToken = ''
accessTokenSecret = ''

Disclaimer

All code provided as is without warranty of any kind, use at your own risk.

About

Using the Twitter API with Python (via Twython).

Resources

Readme
GPL-3.0 license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.