Official SDKs for the Go2 gRPC API - Smart App Links Platform.
| Language | Package | Installation |
|---|---|---|
| Go | pkg.go.dev | go get github.com/gosms-ge/go2-sdk/go |
| Python | PyPI | pip install go2-sdk |
| TypeScript | npm | npm install @go2ge/sdk |
client, _ := go2.NewClient(go2.WithAPIKey("go2_xxx"))
defer client.Close()
// Create a smart link
link, _ := client.Links.Create(ctx, &linksv1.CreateLinkRequest{
Slug: "myapp",
IosUrl: "https://apps.apple.com/app/id123",
AndroidUrl: "https://play.google.com/store/apps/details?id=com.myapp",
})
// Get analytics
stats, _ := client.Analytics.GetStats(ctx, link.Id, "7d")with Go2Client(api_key="go2_xxx") as client:
# Create a smart link
link = client.links.create(
slug="myapp",
ios_url="https://apps.apple.com/app/id123",
android_url="https://play.google.com/store/apps/details?id=com.myapp",
)
# Get analytics
stats = client.analytics.get_stats(link.id, period="7d")const client = new Go2Client({ apiKey: 'go2_xxx' });
// Create a smart link
const link = await client.links.create({
slug: 'myapp',
iosUrl: 'https://apps.apple.com/app/id123',
androidUrl: 'https://play.google.com/store/apps/details?id=com.myapp',
});
// Get analytics
const stats = await client.analytics.getStats(link.id, '7d');
client.close();| Service | Description |
|---|---|
| Links | Create and manage smart app links |
| Analytics | Click analytics, platforms, countries, referrers |
| Domains | Custom domain management |
| QR | Generate customizable QR codes |
| Integrations | Slack, Discord, Telegram, Zapier webhooks |
| Campaigns | SMS/Email marketing with bulk trackable links |
grpc.go2.ge:443
Full API documentation: https://app.go2.ge/docs
- Go 1.22+
- Python 3.8+
- Node.js 18+
- protoc (Protocol Buffers compiler)
# Generate for all languages
./scripts/generate-all.sh
# Or individually
./scripts/generate-go.sh
./scripts/generate-python.sh
./scripts/generate-typescript.sh- Documentation: https://app.go2.ge/docs
- Issues: https://github.com/gosms-ge/go2-sdk/issues
MIT - see LICENSE