You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgsrc="https://developer.nexmo.com/assets/images/Vonage_Nexmo.svg"height="48px"alt="Nexmo is now known as Vonage" />
4
4
5
-
This repository is a collection of things you can do with [Nexmo's](https://nexmo.com) APIs, all shown with cURL.
5
+
This repository is a collection of cURL code snippets, demonstrating the functionality of the [Vonage APIs](https://developer.nexmo.com). The code snippets are used in the developer documentation, such as in [Send a Unicode SMS](https://developer.nexmo.com/messaging/sms/code-snippets/send-an-sms-with-unicode).
6
6
7
7
## Pre-requisites
8
8
9
9
You will need [cURL](https://curl.haxx.se/) installed.
10
10
11
-
You can either directly edit the `config.sh` file and add in your configuration values, or you can create a `config.local.sh` file, which will override the main config file.
11
+
If you don't have a Vonage API account, you'll need to [create one](https://dashboard.nexmo.com/sign-up)!
12
12
13
-
If you don't already have a Nexmo account, you'll need one! You can find the API key and secret for your configuration settings on the [Dashboard](https://dashboard.nexmo.com).
13
+
## Configuration
14
+
15
+
You can find the API key and secret for your configuration settings in your [Dashboard](https://dashboard.nexmo.com).
16
+
17
+
This repository contains a main configuration file `config.sh` that is referenced by the code snippets. You can directly edit the `config.sh` file to add your information. Alternatively, you can create a `config.local.sh` file, which overrides the main configuration file. This allows you to keep your specific information separate from the main configuration.
14
18
15
19
## Run the code snippets
16
20
17
-
As each example requires the aforementioned config files, you must run them from the directory they reside in, for example:
21
+
As each code snippet requires access to the configuration files, you must run them from the directory they reside in, for example:
18
22
19
23
```
20
24
cd messaging/sms/
@@ -23,4 +27,7 @@ cd messaging/sms/
23
27
24
28
## Get in touch
25
29
26
-
Questions and comments are welcome! You can create an issue on this repository. Patches are also very welcome, please go ahead and send us fixes or additional examples by opening a pull request :)
30
+
Questions and comments are welcome!
31
+
32
+
You can create an issue on this repository. Patches are also very welcome, please go ahead and send us fixes or additional code snippets by opening a pull request.
0 commit comments