Skip to content
C# client library for the SVRF API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.swagger-codegen Generated the library Jun 12, 2018
docs
src
.gitignore
.swagger-codegen-ignore
.travis.yml Changed package name Jun 19, 2018
LICENSE.md
README.md Added media metadata Mar 28, 2019
SVRF.Client.sln
build.bat Changed package name Jun 19, 2018
build.sh
git_push.sh Generated the library Jun 12, 2018
mono_nunit_test.sh Changed package name Jun 19, 2018

README.md

SVRF.Client - the C# client library for the SVRF API

For more information, please visit https://github.com/svrf/svrf-api

Getting Started

SVRF's API allows you to supercharge your project or app with the first and largest search engine for immersive experiences. We make it simple for any developer to incorporate highly immersive experiences with all kinds of applications: virtual reality, augmented reality, mixed reality, mobile, and web.

The SVRF API Documentation is available at https://developers.svrf.com.

Frameworks supported

  • .NET 4.0 or later
  • Windows Phone 7.1 (Mango)

Installation

Install-Package SVRF.Client

Then you can use the namespaces:

using SVRF.Client.Api;
using SVRF.Client.Client;
using SVRF.Client.Model;

Getting Started

using System;
using System.Diagnostics;
using SVRF.Client.Api;
using SVRF.Client.Client;
using SVRF.Client.Model;

namespace Example
{
    public class Example
    {
        public void main()
        {

            var apiInstance = new AuthenticateApi();
            var body = new Body(); // Body | 

            try
            {
                // Authenticate application
                AuthResponse result = apiInstance.Authenticate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuthenticateApi.Authenticate: " + e.Message );
            }

        }
    }
}

Documentation for API Endpoints

All URIs are relative to https://api.svrf.com/v1

Class Method HTTP request Description
AuthenticateApi Authenticate POST /app/authenticate Authenticate application
MediaApi GetById GET /vr/{id} Media by ID Endpoint
MediaApi GetTrending GET /vr/trending Trending Endpoint
MediaApi Search GET /vr/search Search Endpoint

Documentation for Models

Documentation for Authorization

XAppToken

  • Type: API key
  • API key parameter name: x-app-token
  • Location: HTTP header
You can’t perform that action at this time.