All Projects → dogsheep → Swarm To Sqlite

dogsheep / Swarm To Sqlite

Licence: apache-2.0
Create a SQLite database containing your checkin history from Foursquare Swarm

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Swarm To Sqlite

Pecee Pixie
Lightweight, easy-to-use querybuilder for PHP inspired by Laravel Eloquent - but with less overhead.
Stars: ✭ 19 (-45.71%)
Mutual labels:  sqlite
Dca
Docker Certified Associate Exam Preparation Guide
Stars: ✭ 883 (+2422.86%)
Mutual labels:  swarm
Cancer Donation Portal Python Flask App
Flask App for Cancer Donation Portal using basic Python, SQLite3, HTML, CSS and Javascript
Stars: ✭ 32 (-8.57%)
Mutual labels:  sqlite
Vulpy
Vulnerable Python Application To Learn Secure Development
Stars: ✭ 25 (-28.57%)
Mutual labels:  sqlite
Sqlite Android
Android SQLite support library
Stars: ✭ 877 (+2405.71%)
Mutual labels:  sqlite
Sqliteef6migrations
System.Data.SQLite.EntityFramework.Migrations - Migrations for SQLite Entity Framework provider
Stars: ✭ 27 (-22.86%)
Mutual labels:  sqlite
Delphi Orm
Delphi ORM
Stars: ✭ 16 (-54.29%)
Mutual labels:  sqlite
Fragile
Framework for building algorithms based on FractalAI
Stars: ✭ 36 (+2.86%)
Mutual labels:  swarm
Android dbinspector
Android library for viewing and sharing in app databases.
Stars: ✭ 881 (+2417.14%)
Mutual labels:  sqlite
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-14.29%)
Mutual labels:  sqlite
Dawnlightsearch
A Linux version of Everything Search Engine.
Stars: ✭ 26 (-25.71%)
Mutual labels:  sqlite
Swarmmskit
Provisioning a Full MS NanoServer Cluster Swarm on Hyper-V with Consul + Vault + Private Registry + Management UI for your cluster Swarm Docker (all these tools will be configure during the deployment) ... all VMs integrated in an Active Directory Domain or using a Local account. You can use (means configure the FW rules for you !) or disable it ...
Stars: ✭ 13 (-62.86%)
Mutual labels:  swarm
Tbls
tbls is a CI-Friendly tool for document a database, written in Go.
Stars: ✭ 940 (+2585.71%)
Mutual labels:  sqlite
Sqlite Transform
Tool for running transformations on columns in a SQLite database
Stars: ✭ 22 (-37.14%)
Mutual labels:  sqlite
Swarmdb
Wolk SWARMDB - Decentralized Database Services for Web3
Stars: ✭ 34 (-2.86%)
Mutual labels:  swarm
Ownyourswarm
Stars: ✭ 17 (-51.43%)
Mutual labels:  swarm
Eosio sql plugin
EOSIO sql database plugin
Stars: ✭ 21 (-40%)
Mutual labels:  sqlite
Androidroom
Android example to show how to use Room to access SQLite database on device for reading and writing data. This example also shows how to use LiveData and ViewModel with Room to build reactive, well performing and easy to maintain applications.
Stars: ✭ 36 (+2.86%)
Mutual labels:  sqlite
Sqlite.swift
A type-safe, Swift-language layer over SQLite3.
Stars: ✭ 7,975 (+22685.71%)
Mutual labels:  sqlite
Zeeql3
The ZeeQL (EOF/CoreData/AR like) Database Toolkit for Swift
Stars: ✭ 29 (-17.14%)
Mutual labels:  sqlite

swarm-to-sqlite

PyPI Changelog Tests License

Create a SQLite database containing your checkin history from Foursquare Swarm.

How to install

$ pip install swarm-to-sqlite

Usage

You will need to first obtain a valid OAuth token for your Foursquare account. You can do so using this tool: https://your-foursquare-oauth-token.glitch.me/

Simplest usage is to simply provide the name of the database file you wish to write to. The tool will prompt you to paste in your token, and will then download your checkins and store them in the specified database file.

$ swarm-to-sqlite checkins.db
Please provide your Foursquare OAuth token:
Importing 3699 checkins  [#########-----------------------] 27% 00:02:31

You can also pass the token as a command-line option:

$ swarm-to-sqlite checkins.db --token=XXX

Or as an environment variable:

$ export FOURSQUARE_TOKEN=XXX
$ swarm-to-sqlite checkins.db

To retrieve just checkins within the past X hours, days or weeks, use the --since= option. For example, to pull only checkins that happened within the last 10 days use:

$ swarm-to-sqlite checkins.db --token=XXX --since=10d

Use 2w for two weeks, 10h for ten hours, 3d for three days.

In addition to saving the checkins to a database, you can also write them to a JSON file using the --save option:

$ swarm-to-sqlite checkins.db --save=checkins.json

Having done this, you can re-import checkins directly from that file (rather than making API calls to fetch data from Foursquare) like this:

$ swarm-to-sqlite checkins.db --load=checkins.json

Using with Datasette

The SQLite database produced by this tool is designed to be browsed using Datasette.

You can install the datasette-cluster-map plugin to view your checkins on a map.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].