https://github.com/stephenpadams/nvoice
C# Google Voice PCL library
https://github.com/stephenpadams/nvoice
Last synced: about 1 year ago
JSON representation
C# Google Voice PCL library
- Host: GitHub
- URL: https://github.com/stephenpadams/nvoice
- Owner: StephenPAdams
- Created: 2013-11-17T04:36:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-19T16:44:56.000Z (over 12 years ago)
- Last Synced: 2023-08-05T23:04:12.753Z (almost 3 years ago)
- Language: C#
- Size: 1.91 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
What is NVoice?
==============================
NVoice is a C# Google Voice library used to send SMS messages. It is originally based on the SharpVoice library, but has been adjusted to support the PCL (Portable Class Library).
Oh, and of course the N is to denote that it is a .NET project.
Why did you create it?
==============================
I wanted to create a Windows desktop application to send mass SMS messages through Google Voice to my poker buddies. I originally used the SharpVoice library, but realized I wanted to
not only create a Windows desktop application, but a Windows Phone application as well as a Windows Store application.
Requirements
------------------------------
1. Visual Studio 2012
2. The Will To Win
3. Friends to annoy
Supported Frameworks
------------------------------
1. Windows Store
2. .NET 4.5+
3. Windows Phone 7.5+
4. Silverlight 4+
Using NVoice
------------------------------
Using NVoice is easy. Simply download the most recent NVoice build (NVoice.dll). Or pull down the latest NVoice project, build and use in your project.
Example:
```
var username = "yourgoogleusername";
var password = "yourgooglepassword";
var phoneNumber = "+123456789";
var message = "Hi!";
var totalMessages = 0;
var sharpVoice = new NVoice.SharpVoice(username, password);
var outcome = sharpVoice.SendSMS(phoneNumber, messages, out totalMessages)
```
As you can see, we expect the phone format to be very specific. I've used libraries like libphonenumber-csharp for parsing, reading, etc. of phone numbers with great success!
The Future
------------------------------
I capitalized the F for a reason. I'd like to make nVoice a Nuget package, expand support for not just sending SMS messages, but also reading as well as other functionalities. Most of all, I'd like to use this
project to get my feet wet on GitHub.
Also, right now this PCL relies on the Microsoft BCL libraries. Because of this, NVoice does not support Windows Phone 7. I'd like to support Windows Phone 7 down the line, but right now it is not supported.