Categorygithub.com/inpublic-io/twitter-api
modulepackage
0.0.0-20220314025420-e66dc5174680
Repository: https://github.com/inpublic-io/twitter-api.git
Documentation: pkg.go.dev

# README

twitter-api

GoDoc

twitter-api is a grpc based API to attend inpublic.io Twitter integration needs

Usage

Deploy on GCP

# create the secret on GCP secrets manager
gcloud secrets create twitter-bearer-token \
    --replication-policy="automatic"

# create a secret from a string
printf "twitter_bearer_token_here" | gcloud secrets versions add twitter-bearer-token \
            --data-file=-

# deploy to cloud run
gcloud run deploy twitter-api \
    --image gcr.io/<google_project_id>/twitter-api \
    --update-secrets=TWITTER_BEARER_TOKEN=twitter-bearer-token:latest

License

This library is distributed under the MIT license found in the LICENSE file.

# Packages

No description provided by the author
No description provided by the author