Kickstarter Location To Ids avatar

Kickstarter Location To Ids

Deprecated
View all Actors
This Actor is deprecated

This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?

See alternative Actors
Kickstarter Location To Ids

Kickstarter Location To Ids

jaroslavhejlek/kickstarter-location-to-ids

Helper actor which queries Kickstarter places and outputs a list of 10 location with their Kickstarter ID's (needed when querying Kickstarter by location).

Actor - Kickstarter location to places

To query kickstarter by location you need to know the ID of the location, this Actor takes as an input a name of a location (eq. "Prague"), queries Kickstarter's places json endpoint and output's a list of up to 10 found locations with their ID's. It also stores additional details about found locations in a json file called OUTPUT in Key Value store.

This Actor requires proxy to work properly, please check that you have access to Apify Proxy, before you try to run it.

INPUT

Input of this actor should be JSON containing a single property called query with a string value representing the location.

For example:

1{
2    "query": "Prague"
3}

Run & Console output

While the Actor is running it will output either error message or the list of the found location. If the Actor fails with an error, then the error is immediately outputed and the process is ended.

OUTPUT

When the Actor finishes it will create and OUTPUT file containing the additional details about each found location:

The structure of this output is:

1locations (Array)
2    - 0 (Object)
3        - id (Number)
4        - name (String)
5        - slug (String)
6        - short_name (String)
7        - displayable_name (String)
8        - localized_name (String)
9        - country (String)
10        - state (String)
11        - type (String)
12        - is_root (Boolean)
13        - urls (Object)
14    - 1 (Object)
15        - ...
16    - ...
17total_hits (Number)

Example JSON of one location:

1{
2    "id": 796597,
3    "name": "Prague",
4    "slug": "prague-prague-prague",
5    "short_name": "Prague, Czech Republic",
6    "displayable_name": "Prague, Czech Republic",
7    "localized_name": "Prague",
8    "country": "CZ",
9    "state": "Prague",
10    "type": "Town",
11    "is_root": false,
12    "urls": {
13        "web": {
14            "discover": "https://www.kickstarter.com/discover/places/prague-prague-prague",
15            "location": "https://www.kickstarter.com/locations/prague-prague-prague"
16        },
17    }
18}
Developer
Maintained by Community
Categories