diff --git a/README.md b/README.md index 75382fc..9a32095 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,15 @@ This Python application requires `requests` and `numpy` to be properly installed ## Example usage -The following command will search for Instagram locations nearby the coordinates 32.22 N, 110.97 W (downtown Tucson, Arizona.) The list of locations is saved as a JSON file at "locs.json". +The following command will search for Instagram locations nearby the coordinates 32.22 N, 110.97 W (downtown Tucson, Arizona.) The list of locations is saved as a CSV file at "locs.csv". -```python3 instagram-locations.py --session "" --lat 32.22 --lng -110.97 --json locs.json``` +```python3 instagram-locations.py --session "" --lat 32.22 --lng -110.97 --csv locs.csv``` Note that this requires an Instagram session ID in order to work! See below for how to obtain one from your account. ### Other output formats -Using the `--csv ` command line argument, the list can be saved as a CSV file. +Using the `--json ` command line argument, the list can be saved as a JSON file, almost identical to the raw API response. Using the `--geojson ` command line argument, the list can be saved as a GeoJSON file for other geospatial applications.