Skip to content

soracom-labs/soracom-air-tag-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soracom Air Tag Manager

Soracom Air Tag Manager is an Apps Script for adding / updating Soracom Air tags with Google Sheets.

Soracom Air has a tag function that assigns arbitrary information with key value, but it is necessary to use the Soracom API to manage a lot of SIM tag information, and there are also challenge in managing tag information. (As of January 2022). The scripts in this repository manage the tag master data in Google Sheets and provide Apps Script to be applied to Soracom's Web Console in a batch.

console

console

How to use

1. Create Google Sheets

Example sheet

Create Google Sheets that will be the master data for your tags. Create two sheets, the first is the sims sheet with the tag master data, and the second is the config sheet with the Soracom connection information.

console

In the sims sheet, the first row is a list of tag keys, the first column is the SIM ID showing the unique ID of the SIM, the remaining columns are the tag keys, and the parameters are entered in the following rows. Enter the API access information in the config sheet as shown in the example.

If you want to use existing data as master data, please use the CSV export feature of SIM list information.

2. Configure API credentials

Issue the credential apiKeyID (AuthKeyId) and apiKey (AuthKey Secret) for API access and enter them in the config sheet together with coverage.

Credentials require Sim:putSimTags permissions.

console

3. Configure and run script

Add the Apps Script to your spreadsheet and run it.

console

Delete the default script and add the two gs files contained in the repository.

console

console

Click Run after adding the file. Make sure the tag information is updated in the web console.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published