Skip to content

antoniovlx/cognitive-services-REST-api-samples

 
 

Repository files navigation

page_type languages products description urlFragment
sample
csharp
html
java
javascript
swift
python
azure
This repo provides code samples for cognitive services APIs.
cognitive-services-REST-api-samples

Samples for REST APIs in Cognitive Services

This repo provides code samples for Azure Cognitive Services APIs. There are sections for Language, Search, and Vision, using various progamming languages. Note that these are just simple wrappers to the APIs. For SDKs and SDK samples there are separate repos (see below for references).

Cognitive Services introduction: https://azure.microsoft.com/en-us/services/cognitive-services/

Cognitive Services docs: https://docs.microsoft.com/en-us/azure/cognitive-services/

Getting Started

These REST samples require some steps:

  1. Copy the sample into your favorite IDE or text editor.
  2. Get a subscription key and endpoint from your API service (for example, Computer Vision or Bing Search, etc.) If you have not created the Azure service you need, go here to get a free (or paid) account: https://azure.microsoft.com/en-us/free/?WT.mc_id=A261C142F
  3. Add your key and endpoint to your environment variables with the naming as shown in the code sample.
  4. Install libraries if needed (instructions on the ones needed are in the sample).
  5. Compile and run the sample through your IDE or the command line.
  6. (Optional) You may want to download the whole repo first:
    git clone https://github.com/Azure-Samples/cognitive-services-REST-api-samples

Resources

SDK Samples

Service-specific SDK Samples

About

This is a repo for cognitive services REST API samples in 4 languages: C#, Java, Node.js, and Python.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 34.4%
  • C# 31.5%
  • Java 15.2%
  • JavaScript 9.6%
  • Swift 4.4%
  • Python 2.3%
  • Other 2.6%