β About
Recenlty we saw a very nice & interesting Discussion landing on our opt-nc
Github Organization :
With a very well explained use case :
"Bonjour, disposer d'un SDK voire d'une API permettant de valider des numΓ©ros de tΓ©lΓ©phone ou encore de dΓ©tecter si un numΓ©ro est un numΓ©ro de fixe ou un numΓ©ro de mobile."
"Avec ces outils, il serait possible facilement d'amΓ©liorer la qualitΓ© de bases de donnΓ©es ou encore rendre des formulaires web plus efficaces."
Quite rapidly we discovered that it could help a lot of people enhancing the data quality of Information Systems... and even ours !
This first intro post is dedicated to announce the release of the SDK.
π Open source repo
Here is the repo :
opt-nc
/
phonenumber-validator
SDK java permettant de valider et qualifier un numΓ©ro de tΓ©lΓ©phone calΓ©donien.
β phonenumber-validator
SDK Java permettant de valider, qualifier un numΓ©ro de tΓ©lΓ©phone calΓ©donien.
πΆ DΓ©couvrir
Pour mieux comprendre comment est nΓ© ce projet, ce qu'il permet et les rΓ©alisations qu'il permet allez sur la sΓ©rie dΓ©diΓ©e PhoneNumber Validator sur DEV.to.
β¬οΈ Import de la dΓ©pendance publique
Cette dΓ©pendance est disponible publiquement via Jitpack.
πͺΆ Maven
Ajouter la repo Jitpack :
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Puis la dΓ©pendance :
<dependency>
<groupId>com.github.opt-nc</groupId>
<artifactId>phonenumber-validator</artifactId>
<version>Tag</version>
</dependency>
π Gradle
Ajouter la repo :
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Puis la dΓ©pendance :
dependencies {
implementation 'com.github.opt-nc:phonenumber-validator:Tag'
}
βοΈ Exemples de code
Plusieurs exemples sont disponibles dans la classe Main du projet Pour lancerβ¦
π Get started
Add SDK to your repo, then :
System.out.println("Type de numΓ©ro : " + PhoneNumberValidator.getPhoneType("+687514243").name());
System.out.println("Mobile ? : " + (PhoneNumberValidator.isMobile("+687514243") ? "oui" : "non"));
System.out.println("Fixe ? : " + (PhoneNumberValidator.isFixe("+687514243") ? "oui" : "non"));
System.out.println("Special ? : " + (PhoneNumberValidator.isSpecial("+687514243") ? "oui" : "non"));
π‘οΈ Security
As dependencies are monitored and code security is enabled, you can safely analyze code and see if any toxic code is embedded in the SDK :
β° Feedbacks
Feel free to send feedback by :
π« Dropping an issue
π§βπ€βπ§ Opening or participating to a discussion
π SDK delivery for #ProgrammersDay π€
Top comments (9)
Very useful piece of code delivered on a perfect timing ;) !!! Congrats to the team !
There are some highly talented engaged software around here with @mbarre
Also you make like the forthcoming news... stay tuned to this series !
β You want to play from shell, build scripts β
π
π Validate New-Caledonia Phone Numbers from cli β¨οΈ
adriens for opt-nc γ» Sep 14 γ» 1 min read
Enjoy π
Some amazing feedback :
Adrien Sales on LinkedIn: βοΈ An Open Source Java SDK to validate phonenumbers in New-Caledonia
ποΈ A few weeks ago, we were asked by #community if we could deliver a SDK to help validate #phonenumber in #newcaledonia for #qualitycontrol π‘ π’ Today...
WOUAH, looks like we just got a BOT that tweets releases :