mirror of
https://github.com/nikdoof/foursquare-feeds.git
synced 2025-12-13 10:02:23 +00:00
Add ability to fetch all checkins
* By default it continues to only fetch the most recent checkins (the most recent 250, whereas the default before was 100). * If you add the `--all` flag it will fetch all of your checkins instead. Fixes #2
This commit is contained in:
13
README.md
13
README.md
@@ -1,11 +1,9 @@
|
||||
# Foursquare Feeds
|
||||
|
||||
A python script that will generate an iCal (`.ics`) feed of your recent checkins on [Foursquare][4sq]/[Swarm][swarm]. If you set it up to save this file to a publicly-visible location on a webserver, and run the script regularly, you can subscribe to the feed in your favourite calendar application.
|
||||
A python script that will generate an iCal (`.ics`) feed of your checkins on [Foursquare][4sq]/[Swarm][swarm]. If you set it up to save this file to a publicly-visible location on a webserver, and run the script regularly, you can subscribe to the feed in your favourite calendar application.
|
||||
|
||||
Foursquare [used to have such feeds][feeds] but they've stopped working for me.
|
||||
|
||||
**NOTE: This is new and untested!**
|
||||
|
||||
[4sq]: https://foursquare.com
|
||||
[swarm]: https://www.swarmapp.com
|
||||
[feeds]: https://foursquare.com/feeds/
|
||||
@@ -84,7 +82,16 @@ You're ready to go:
|
||||
|
||||
This should create an `.ics` file.
|
||||
|
||||
By default it only fetches the most recent 250 checkins. To fetch ALL of your
|
||||
checkins add the `--all` flag:
|
||||
|
||||
$ ./generate_feeds.py --all
|
||||
|
||||
If the file is generated in a location on your website that's publicly-visible, you should be able to subscribe to it from a calendar application. Then run the script periodically to have it update.
|
||||
|
||||
Depending on how many checkins you have you might only want to run it with
|
||||
`--all` the first time and, once that's imported into a calendar application,
|
||||
subsequently only fetch recent checkins.
|
||||
|
||||
Note that the file might contain private checkins or information you don't want to be public. In which case, it's probably best to make the name of any such publicly-readable file very obscure.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user