|
1 | | -# eos-api |
| 1 | +## Oraclize EOS API - CDT 1.4.0 [](https://gitter.im/oraclize/eos-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![[email protected]](https://camo.githubusercontent.com/5e89710c6ae9ce0da822eec138ee1a2f08b34453/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d536c6174652d627269676874677265656e2e737667)](http://docs.oraclize.it) [](http://hits.dwyl.io/oraclize/eos-api) [](https://opensource.org/licenses/mit-license.php) |
2 | 2 |
|
3 | | -Please refer to [our API documentation](http://docs.oraclize.it/#eos) to know more about the Oraclize API on EOSIO. |
| 3 | + |
4 | 4 |
|
5 | | -## Oraclize `eos-api` |
| 5 | +Thanks to this __EOS API__, enriching your smart-contracts with external data using __Oraclize__ is very easy! |
6 | 6 |
|
7 | | -Documentation: [docs.oraclize.it](http://docs.oraclize.it/#eos) |
| 7 | +In C++ it is as simple as including the __`eos_api.hpp`__ library that you'll find in this repository. |
8 | 8 |
|
9 | | -Gitter public support channel: |
10 | | -[](https://gitter.im/oraclize/eos-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
| 9 | +This will provide your contract with functions like __`oraclize_query(...)`__, which make it trivial for you to leverage our oracle technology straight away. |
11 | 10 |
|
12 | | -[](http://hits.dwyl.io/oraclize/eos-api) |
| 11 | +Simply import __Oraclize__ into your contract like so: |
| 12 | + |
| 13 | +```c++ |
| 14 | + |
| 15 | +#include "oraclize/eos_api.hpp" |
| 16 | + |
| 17 | +``` |
| 18 | + |
| 19 | +To learn more about the Oraclize technology, please refer to our __[documentation here](https://docs.oraclize.it)__. |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +*** |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +### CDT Compatiiblity |
| 28 | + |
| 29 | +The `eos_api.hpp` library in this repo is compatible with the EOSIO CDT 1.4.0. |
| 30 | + |
| 31 | +For the Oraclize EOS API compatible with the CDT 1.6.1, just go to the [eosio.cdt-1.6.1](https://github.com/oraclize/eos-api/tree/eosio.cdt-1.6.1) branch. |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +*** |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +### :computer: See It In Action! |
| 40 | + |
| 41 | +For working examples of how to integrate the __Oraclize__ EOS API into your own smart-contracts, head on over to the __[Oraclize EOS Examples](https://github.com/oraclize/eos-examples)__ repository. Here you'll find various examples that use __Oraclize__ to feed smart-contracts with data from a variety of external sources. |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +*** |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +### :mega: __Get In Touch!__ |
| 50 | + |
| 51 | +If you want to ask us something, or tell us something, there's loads of ways to get in touch: |
| 52 | + |
| 53 | +__❍__ We have a __[Twitter](https://twitter.com/oraclizeit)__ |
| 54 | + |
| 55 | +__❍__ And a __[Gitter](https://gitter.im/oraclize/eos-api)__ |
| 56 | + |
| 57 | +__❍__ Or a __[Website](https://provable.xyz)__ |
| 58 | + |
| 59 | +__❍__ Plus a __[Github](https://github.com/oraclize)__ |
0 commit comments