{"id":13677590,"url":"https://github.com/agonzalezro/twilio-go","last_synced_at":"2025-04-29T11:31:18.558Z","repository":{"id":13949879,"uuid":"16649928","full_name":"agonzalezro/twilio-go","owner":"agonzalezro","description":"Twilio NON-OFFICIAL Golang wrapper","archived":true,"fork":false,"pushed_at":"2014-02-10T17:50:07.000Z","size":184,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-11T19:41:35.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agonzalezro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-08T18:32:49.000Z","updated_at":"2023-01-28T20:59:19.000Z","dependencies_parsed_at":"2022-08-25T01:41:11.480Z","dependency_job_id":null,"html_url":"https://github.com/agonzalezro/twilio-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agonzalezro%2Ftwilio-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agonzalezro%2Ftwilio-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agonzalezro%2Ftwilio-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agonzalezro%2Ftwilio-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agonzalezro","download_url":"https://codeload.github.com/agonzalezro/twilio-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251493804,"owners_count":21598173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T13:00:44.386Z","updated_at":"2025-04-29T11:31:18.183Z","avatar_url":"https://github.com/agonzalezro.png","language":"Go","funding_links":[],"categories":["Wrappers and libraries"],"sub_categories":[],"readme":"Twilio NON-OFFICIAL Golang wrapper\n==================================\n\n**This project is in a really alpha state for now. Feel free of provide pull requests or add [new issues](https://github.com/agonzalezro/twilio-go/issues).**\n\n[![GoDoc](https://godoc.org/github.com/agonzalezro/twilio-go?status.png)](https://godoc.org/github.com/agonzalezro/twilio-go)\n[![Build Status](https://travis-ci.org/agonzalezro/twilio-go.png)](https://travis-ci.org/agonzalezro/twilio-go)\n\nHow to use?\n-----------\n\nOn the import section of your Go project:\n\n    import (\n        ...\n        \"github.com/agonzalezro/twilio-go\"\n        ...\n    )\n\nNow, if you want to send an SMS just do:\n\n    client = twilio.NewTwilioRestClient(\"Your account here\", \"Your token here\")\n    client.Messsages.Create(\"+44fromnumber\", \"+31tonumber\", \"Hi world!\")\n\nIf you want to check more than this tiny example, you must check the [generated\ndocumentation at godoc](https://godoc.org/github.com/agonzalezro/twilio-go).\n\nSupported methods\n-----------------\n\n- You can send SMS.\n- You can do calls.\n\nHow to develop easily?\n----------------------\n\nWhat I do is create a symbolic link of my code (if you know a better way,\nplease let me know :)\n\nIf your go path is in your folder ~/go, and you cloned the repo to ~/twilio-go,\nyou can just copy paste this commands:\n\n    $ export GOPATH=/Users/alex/go\n    $ mkdir -p $GOPATH/src/github.com/agonzalezro\n    $ ln -s $HOME/twilio-go $GOPATH/src/github.com/agonzalezro\n\nExamples\n--------\n\nI've included few examples on the `examples/` folder.\n\nFor example, if you want to send an sms, you can use this command (filling the\nneeded information, of course):\n\n\tgo run examples/sms/sms.go \\\n\t\t-account XXXXYOURACCOUNTHEREXXXX \\\n\t\t-token YYYYOURTOKENHEREYYYY \\\n\t\t-from +15005550006 \\\n\t\t-to +447449601002 \\\n\t\t-body \"Hi world\\!\"\n\nIf you want to make a call, you will need an adittional step. You should check\nthe documentation of [TwiML](https://www.twilio.com/docs/api/twiml) and provide\nthe XML in an endpoint that is accessible from the world.\n\nAfter having that, you can use this command (note that I am using environment\nvariables now):\n\n\tTWILIO_ACCOUNT=AC0f9f0c5025b665ed8d68e649e442b0ff \\\n\tTWILIO_TOKEN=77a081faa8bebb1487827b527f87a0e5 \\\n\tTWILIO_NUMBER=+15005550006 \\\n\tgo run examples/voice/voice.go \\\n\t\t-to 447449601002 \\\n\t\t-url http://YOURENDPOINTXML/MUSTALLOWPOST\n\nTODO\n----\n\n- Logical: finish all the API REST methods.\n- Add more tests!\n- Remove duplication, there is a lot: in tests \u0026 in modules code :(\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagonzalezro%2Ftwilio-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagonzalezro%2Ftwilio-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagonzalezro%2Ftwilio-go/lists"}