Skip to content

Instantly share code, notes, and snippets.

View moski's full-sized avatar

Moski Doski moski

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
text = u'這是一封測試簡訊 This a test SMS.'
endpoint = 'https://rest.nexmo.com/sms/json'
data = {
'username': '{yours}',
'password': '{yours}',