Skip to content

haradam3/ForgeAPI_IntroLab1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forge API Intro Lab 1 - Hello Forge World

This is a part of introductory materials for Forge API.

The labs consist of four modules. Starting from Lab1, it incrementally adds code or reuse the code you have written, and implement toward a simple web service application.

This is the first and THE minimum project that demonstrates how to make Forge REST API call. In this lab, you learn what REST API is, how to make a request and obtain response, and get an access token which will be used in subsequent Forge web services.

How to run the sample project

In order to use Forge, you will need to register your app and obtain a pair of client ID and secret keys.

  • Once you have the above information, open the App.config and set your own configuration setting there.
  <appSettings>
    <add key="baseApiUrl" value="https://developer.api.autodesk.com/"/>
    <add key="clientID" value=""/>
    <add key="clientSecret" value=""/>
  </appSettings>

The project is written in C#, using Microsoft Visual Studio 2015, .NET 4.5.2.

Dependency: RestSharp 106.2.0 (NuGet will automatically download a package when you build.)

Disclaimer: Minimum error checking for simplicity and readability to focus on learning Forge API.

To Do: Detailed explanation to come on:
https://fieldofviewblog.wordpress.com/

For additional information about Forge, please refer to: https://fieldofviewblog.wordpress.com/Forge

Written by M.Harada, March 2015.

Last updated: 1/22/2018 by M.Harada

About

Forge API Intro Lab 1 - Hello Forge World

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages