/apptweak

Go SDK for apptweak

Primary LanguageGo

Golang SDK for apptweak.io

Getting apptweak

go get -u github.com/abhi11/apptweak

Using apptweak

import "github.com/abhi11/apptweak"

func main() {
	    token := os.Getenv("APPTWEAK_TOKEN")
        auth := apptweak.NewAuth(token) // token to be generated from apptweak website
        params := apptweak.Parameters{Lang: "en", Country: "us", Type: "free"}
     	r := apptweak.NewTopAndroidAppSearchRequest(auth, params, "Business")
		resp, err := r.Run()
}

See api_test.go for more details or check the wiki for documentation

To know more about apptweak, visit their site and read API Docs

Running Tests

To run the tests, API token is required, export the token in an ENV variable

$ export APPTWEAK_TOKEN=<your_api_token>

Then run,

go test

TODO

  • Add feature: Keywords Stats
  • Write documentation !
  • Adding more wrappers simple to use