Giter Club home page Giter Club logo

find-sims's Introduction

保有しているSuperSIMを検索

このプログラムを使うことで、自分の持っているSuperSIMを検索することができます。
マスターアカウントだけでなく、保有しているサブアカウントもすべて検索対象です。

前提(動作確認済み)条件

  • Node.js バージョン 16.13以上
  • npm 8.1.0以上

セットアップ

git clone https://github.com/mobilebiz/find-sims.git
cd find-sims
yarn install # or npm install

環境変数の設定

cp .env.example .env

.envを以下の内容で更新してください。

Key Value
TWILIO_ACCOUNT_SID 対象とするマスターアカウントのAccountSid
TWILIO_AUTH_TOKEN 同じくAuthToken

実行

node index.js

実行例

*** TAKAHASHI(active) ***
sim: HSb1506be651dee8302222b88bcb75de08(inactive)
sim: HS5d64d9ff63ed92db02254664ade20d93(inactive)
sim: HSbe2f7230058c05a1e4dbfbb31efe86bd(new)
*** account2(active) ***

制限事項

サブアカウントがsuspendedになっている場合、一度ステータスを変更してから処理を行いますが、TwilioによってサスペンドされているサブアカウントについてはAPI経由での変更ができないため、スキップするようになっています。

find-sims's People

Contributors

mobilebiz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.