https://github.com/disruptek/bluu
Microsoft Azure Cloud (MAC) APIs in Nim
https://github.com/disruptek/bluu
api azure client cloud computing microsoft openapi platform rest services
Last synced: 6 months ago
JSON representation
Microsoft Azure Cloud (MAC) APIs in Nim
- Host: GitHub
- URL: https://github.com/disruptek/bluu
- Owner: disruptek
- License: mit
- Created: 2019-09-27T18:14:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-25T05:13:44.000Z (about 6 years ago)
- Last Synced: 2025-04-04T19:23:07.282Z (10 months ago)
- Topics: api, azure, client, cloud, computing, microsoft, openapi, platform, rest, services
- Language: Nim
- Homepage:
- Size: 23.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.](https://github.com/disruptek/bluu/tree/master/src/bluu) :cry:
## 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.
```nim
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:
- OpenAPI Code Generator https://github.com/disruptek/openapi
Patches welcome!
## License
MIT