No description
Find a file
2020-01-25 00:13:38 -05:00
src/bluu 0.0.5: remove openapi requirement 2019-10-29 15:37:34 -04:00
.editorconfig editor config 2019-11-04 14:05:43 -05:00
bluu.nimble 0.0.6: make my life easier 2020-01-25 00:13:38 -05:00
LICENSE initial commit 2019-09-27 15:42:09 -04:00
README.md Update README.md 2019-10-09 23:44:27 -04:00

bluu

Microsoft Azure Cloud Computing Platform and Services (MAC) APIs

Work in Progress

The request signing hasn't been implemented yet...

Supported APIs

Sadly, only the 675 most popular Azure APIs are supported at this time. 😢

Example

Your import statement names the APIs you want to use and the versions of same, with any punctuation turned into underscores or omitted from version identifiers.

import asyncdispatch
import httpclient
import httpcore

import bluu/cdn_20190415 # ie. CDN API released 2019-04-15

let
  # the call() gets arguments you might expect; they have sensible
  # defaults depending upon the call, the API, whether they are
  # required, what their types are, whether we can infer a default...
  myUsage = resourceUsageList.call(subscriptionId="my-subscription")
for response in myUsage.retried(tries=3):
  if response.code.is2xx:
    echo waitfor response.body
    break

Details

This project is based almost entirely upon the following:

Patches welcome!

License

MIT