Code Monkey home page Code Monkey logo

simmover's Introduction

EMnify SIM Mover (Helper Script)

This script is here to show how you can build custom logic on top of our comprehensive and easy to use APIs to manage your SIM cards in an automated manner.

It will help you shift a batch of SIM cards from one organisation to another one in case you need to.

It is build in the programming language Node.js (Java Script) which is an easy language most developers can develop and that runs on all platforms.

The execution of the API requests is being throttled to 2 requests per second in order to not get blocked due to overloading the API.

The account you use for executin needs to have the "support" role assigned, otherwise the script can't detatch the SIMs from the endpoints of the organisation they are moved away from.

Sample image of script usage

Installation

On Ubuntu or Debian

Open the terminal and type the following

sudo apt install git nodejs
git clone git://github.com/EMnify/simMover.git ~/simMover
cd ~/simMover
npm install
sudo npm link

This should download this script, install all dependent modules and install the script so you can use it everywhere.

Usage

The script can be executed anywhere in the terminal now by typing simMover and hitting enter.

It will ask you to select and enter all the relevant information.

What you should prepare in order to use it:

  • A CSV file without a header containing a list of all the ICCIDs, IMSIs or SIM IDs you want to move
  • An application token of the organisation that will move the sim card (not an enterprise organisation)
  • An application token of the enterprise organisation where the sims are currently residing (in order to detatch them from endpoints there)
  • The ID of the organisation you want to move the sim cards to

simmover's People

Contributors

mala-emnify avatar

Watchers

Alex Schwartz avatar Max Suraev avatar Jason Grier avatar James Cloos avatar Danilo Oliveira avatar Nick Zavaritsky avatar Jiri Syrovy avatar Nikos Loutas avatar Patrick Jahns avatar Martin Giess avatar Michał Mital avatar Sebastian Schmitt avatar Wolfgang Schäfer avatar KubeCell avatar Mikhail Gubenko avatar

Forkers

tednespippi

simmover's Issues

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.