Skip to content

sixcodes/tap-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap-unity

This is a Singer tap that produces JSON-formatted data following the Singer spec.

This tap:

  • Pulls raw data from Unity Acquisitions Report api
  • Outputs the schema
  • Incrementally pulls data based on the input state

Running the tap

First you'll need to fill the config.json file with the following information:

{
  "auth_token": "[auth token hash]",
  "organization_id": "[organization id code]",
  "split_by": "[split by field]",
  "granularity": "all|hour|day|week|month|quarter|year"
}

Remember that split_by and fields may vary according to the Unity API and they are not required, if you don't specify them, the tap will use the default values which are:

With the config.json file filled out, you need to set a state.json file like the example below:

{
  "last_record": "2018-01-01T00:00:00.000Z"
}

Now you can run the tap using:

$ pip install .
$ tap-unity --config config.json --state state.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages