Skip to content
/ rfa Public

Detect text in screenshots of "Ring Fit Adventure for Nintendo Switch" posted on twitter and save the play record to Google BigQuery.

License

Notifications You must be signed in to change notification settings

tosh2230/rfa

Folders and files

NameName
Last commit message
Last commit date
Jun 13, 2021
Apr 17, 2021
May 3, 2021
May 29, 2021
May 2, 2021
May 29, 2021
May 29, 2021
May 2, 2021
Apr 3, 2021
Apr 2, 2021
Jun 27, 2021
Mar 6, 2023
Mar 6, 2023
May 18, 2021
Apr 17, 2021

Repository files navigation

rfa

Detect text in screenshots of "Ring Fit Adventure for Nintendo Switch" posted on twitter and save the play record to Google BigQuery.

Description

rfa

Requirements

The dependent modules are managed by Go Modules. Please see go.mod.

Usage

  • Register Twitter developer secrets to Cloud Secret Manager as rfa

    $ cat ./secret/twitter_example.json
    {
        "consumer_key": "****************",
        "consumer_secret": "****************",
        "access_token": "****************",
        "access_token_secret": "****************"
    }
    $ cp ./secret/twitter{_example,}.json  # then replace the values with your actual ones.
    
    $ gcloud secrets create rfa --data-file=./secret/twitter.json
  • Create rfa dataset in Google BigQuery

    $ bq mk -d rfa

Arguments

$ ./rfa --help
Usage of ./rfa:
  -l string
        bigquery_location (default "us")
  -p string
        gcp_project_id
  -s string
        search_size (default "1")
  -u string
        twitter_id

Test

  • Set active Application Default Credentials

    $ gcloud auth application-default login
  • Set environment variable TEST_PROJECT_ID

  • Regist string for testing to Cloud Secret Manager as rfa_test

    $ gcloud secrets create rfa_test --data-file=./twitter/testdata/TestSetTwitterConfig.json

About

Detect text in screenshots of "Ring Fit Adventure for Nintendo Switch" posted on twitter and save the play record to Google BigQuery.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages