Skip to content

onrik/botanio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Golang lib for botan.io

Botan is a telegram bot analytics system based on Yandex.Appmetrica

Example

package main

import (
	"github.com/onrik/botanio"
)

func main() {
	botan := botanio.New("<token>")
	answer, err := botan.Track(123456, "search", botanio.Map{
		"query": "cartoon",
	})
	url, err := botan.Short(123456, "https://google.com")
	
	// Usage without client creating
	botanio.SetToken("<token>")
	answer, err := botanio.Track(123456, "search", botanio.Map{
		"query": "cartoon",
	})
	url, err := botanio.Short(123456, "https://google.com")
}

About

Golang lib for botan.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages