Skip to content

dqn/aaapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aaapi

Go Twitter Account Acticity API

Installation

$ go get github.com/dqn/aaapi

Usage

package main

import (
	"fmt"

	"github.com/dqn/aaapi"
)

func main() {
	a := aaapi.NewPremium(
		"CONSUMER_KEY",
		"CONSUMER_SECRET",
		"ACCESS_TOKEN",
		"ACCESS_TOKEN_SECRET",
		"ENV_NAME",
	)
	r, err := a.PostWebhooks("https://example.com/webhook")
	if err != nil {
		// handle error
	}

	fmt.Println(r.ID) // => webhook id
}

Features

  • Premium AAAPI
  • Enterprise AAAPI

Premium AAAPI

  • Post webhooks
  • Get webhooks
  • Get webhooks with env name
  • Put webhooks
  • Post subscriptions
  • Get subscriptions count
  • Get subscriptions
  • Get subscriptions list
  • Delete webhooks
  • Delete webhooks
  • Delete subscriptions user

About

Go Twitter Account Acticity API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages