Giter Club home page Giter Club logo

skyciv-api's Introduction

SkyCiv API v3

This GitHub includes sample code, helper functions and other resources for the v3 SkyCiv Structural Analysis and Design API. This API allows structural engineers to develop their own applications and solutions using SkyCiv technology. This includes functionality such as:

  • Auto generation of structural models, saving files in cloud
  • Performing structural analysis (static, static-buckling, non-linear (P-delta), plates, cables, frequency analysis (coming soon)
  • Migrating data between applications (for instance, SkyCiv-Revit Plugin)
  • Running steel members design checks (AISC 360, AS 4100, EN3, CSA S-16)
  • Running timber members design checks (NDS, AS 1720)
  • Calculate wind speeds, topography, wind pressure and snow pressure calcs from ASCE, NBCC, AS1170 and EN1991

[Full Documentation available at https://skyciv.com/api/v3/docs/getting-started/]

SkyCiv API v3 uses the following endpoint for all methods:

https://api.skyciv.com/v3

You can make a HTTP/HTTPS POST Request to this endpoint manually or you can include/import/require the SkyCiv API file in your project which will do the request for you (typically through the skyciv.request method). Currently we have an API module and examples for:

  • JavaScript (browser or node.js compatible)
  • Python
  • C#
  • Excel (VBA)

Eventually we will create an importable file and examples:

  • PHP
  • MATLAB

Please read the API docs which explains the API functions here:

https://skyciv.com/api/v3

Examples

Add your credentials to run the examples

Your credentials (found here) are required if you wish to run the test/example scripts inside the test folders of each language. Add your credentials via the nodeJS or python credential maker:

node credentials/credentials.js YOUR_API_USERNAME YOUR_API_KEY

OR

python credentials/credentials.py YOUR_API_USERNAME YOUR_API_KEY

Alternatively you can just create the credentials.json file manually in the root of this repo:

{
	"username": "YOUR_API_USERNAME ",
	"key": "YOUR_API_KEY"
}

NOTE: We recommend changing your API key frequently.

Javascript

  • To run the browser example for javascript open the javascript/test/browser.html file in your browser. Please add your credentials in the browser.html file first.
  • To run the node example you would run:
node javascript/test/node

Python

  • To run the example for python just run:
python python/test.py

CSharp

  • To run the C# example, simply run:
cd csharp
dotnet run

or open the SkyCiv.sln in VS2019 and hit run. For more info, check out the README file in the csharp folder.

skyciv-api's People

Contributors

pcomino avatar carigs89 avatar emilpoulsen avatar bradenkkz avatar brendanhorne avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.