600 Commits
beta ... v0.7.0

Author SHA1 Message Date
m3o-actions
cdb937b2cb Commit from m3o/m3o action 2022-01-31 18:10:43 +00:00
m3o-actions
fbf39cc693 Commit from m3o/m3o action 2022-01-31 16:18:59 +00:00
m3o-actions
1729996181 Commit from m3o/m3o action 2022-01-31 11:37:39 +00:00
m3o-actions
5fe1678ec5 Commit from m3o/m3o action 2022-01-31 11:31:42 +00:00
m3o-actions
8b790bd9b9 Commit from m3o/m3o action 2022-01-30 13:20:18 +00:00
m3o-actions
a9bcb78aa8 Commit from m3o/m3o action 2022-01-29 13:34:03 +00:00
m3o-actions
b3fd38731e Commit from m3o/m3o action 2022-01-29 13:32:49 +00:00
m3o-actions
ad326fd0b8 Commit from m3o/m3o action 2022-01-29 13:12:25 +00:00
m3o-actions
3ffe702d02 Commit from m3o/m3o action 2022-01-28 16:51:25 +00:00
m3o-actions
27a90b388a Commit from m3o/m3o action 2022-01-28 16:44:19 +00:00
m3o-actions
edfebe05df Commit from m3o/m3o action 2022-01-28 12:45:06 +00:00
m3o-actions
13441363d5 Commit from m3o/m3o action 2022-01-28 12:26:49 +00:00
m3o-actions
c5d206122c Commit from m3o/m3o action 2022-01-28 12:23:16 +00:00
m3o-actions
909ac3d71f Commit from m3o/m3o action 2022-01-28 11:45:42 +00:00
m3o-actions
3e8a881233 Commit from m3o/m3o action 2022-01-28 11:38:06 +00:00
m3o-actions
da1038343f Commit from m3o/m3o action 2022-01-28 11:07:21 +00:00
m3o-actions
fe7b620e59 Commit from m3o/m3o action 2022-01-27 14:31:56 +00:00
m3o-actions
58278dc08b Commit from m3o/m3o action 2022-01-26 20:25:51 +00:00
m3o-actions
362f73dca1 Commit from m3o/m3o action 2022-01-26 20:15:25 +00:00
m3o-actions
3cb3b40901 Commit from m3o/m3o action 2022-01-26 20:04:43 +00:00
m3o-actions
0aca22c769 Commit from m3o/m3o action 2022-01-26 19:15:56 +00:00
m3o-actions
9547c26947 Commit from m3o/m3o action 2022-01-26 13:06:45 +00:00
m3o-actions
9cd82a849f Commit from m3o/m3o action 2022-01-24 18:17:02 +00:00
m3o-actions
f142eddbb9 Commit from m3o/m3o action 2022-01-23 17:54:02 +00:00
m3o-actions
81eb8a213a Commit from m3o/m3o action 2022-01-23 09:47:29 +00:00
m3o-actions
79a9c94139 Commit from m3o/m3o action 2022-01-23 09:46:54 +00:00
m3o-actions
4a6b4ddbaa Commit from m3o/m3o action 2022-01-23 09:10:40 +00:00
m3o-actions
4646555d94 Commit from m3o/m3o action 2022-01-23 09:09:54 +00:00
m3o-actions
87d4ae480a Commit from m3o/m3o action 2022-01-23 09:09:16 +00:00
m3o-actions
f2c03ac414 Commit from m3o/m3o action 2022-01-23 09:08:22 +00:00
m3o-actions
00ad5f2668 Commit from m3o/m3o action 2022-01-21 15:55:22 +00:00
m3o-actions
5890e989e4 Commit from m3o/m3o action 2022-01-20 18:46:25 +00:00
m3o-actions
e7f0fd6434 Commit from m3o/m3o action 2022-01-20 15:13:38 +00:00
m3o-actions
d52ecd7232 Commit from m3o/m3o action 2022-01-20 15:13:18 +00:00
m3o-actions
3fd0023e27 Commit from m3o/m3o action 2022-01-20 08:15:38 +00:00
m3o-actions
83740822e1 Commit from m3o/m3o action 2022-01-20 08:06:17 +00:00
m3o-actions
7a4f8f2faa Commit from m3o/m3o action 2022-01-20 08:03:44 +00:00
m3o-actions
5db5bff7e5 Commit from m3o/m3o action 2022-01-20 07:58:53 +00:00
m3o-actions
bc3256a02a Commit from m3o/m3o action 2022-01-20 07:54:44 +00:00
m3o-actions
d346494459 Commit from m3o/m3o action 2022-01-20 07:52:53 +00:00
m3o-actions
847b17a423 Commit from m3o/m3o action 2022-01-19 21:52:39 +00:00
m3o-actions
051b7e8db7 Commit from m3o/m3o action 2022-01-19 21:51:49 +00:00
m3o-actions
ef53cae138 Commit from m3o/m3o action 2022-01-19 19:39:03 +00:00
m3o-actions
9c5e2fc5dd Commit from m3o/m3o action 2022-01-19 19:38:00 +00:00
m3o-actions
fbbc6fce2b Commit from m3o/m3o action 2022-01-19 18:45:46 +00:00
m3o-actions
75931d518a Commit from m3o/m3o action 2022-01-19 18:45:22 +00:00
m3o-actions
76e85f7e0a Commit from m3o/m3o action 2022-01-19 18:45:02 +00:00
m3o-actions
b4f72abd73 Commit from m3o/m3o action 2022-01-19 18:39:51 +00:00
m3o-actions
c9ddd8776c Commit from m3o/m3o action 2022-01-19 18:15:52 +00:00
m3o-actions
4e9cd04448 Commit from m3o/m3o action 2022-01-19 15:06:00 +00:00
m3o-actions
e4472e76bc Commit from m3o/m3o action 2022-01-19 10:30:21 +00:00
m3o-actions
b89a529672 Commit from m3o/m3o action 2022-01-18 14:54:20 +00:00
m3o-actions
1c567f0eff Commit from m3o/m3o action 2022-01-18 13:29:33 +00:00
m3o-actions
42b9941d93 Commit from m3o/m3o action 2022-01-18 09:21:40 +00:00
m3o-actions
ee0f545030 Commit from m3o/m3o action 2022-01-17 15:32:27 +00:00
m3o-actions
59a3c3c3a8 Commit from m3o/m3o action 2022-01-17 14:13:41 +00:00
m3o-actions
081b4bc7dd Commit from m3o/m3o action 2022-01-17 11:48:03 +00:00
m3o-actions
c296523bb2 Commit from m3o/m3o action 2022-01-17 11:42:01 +00:00
m3o-actions
fe83bf7d18 Commit from m3o/m3o action 2022-01-17 11:34:48 +00:00
m3o-actions
f68c53a04d Commit from m3o/m3o action 2022-01-15 21:05:12 +00:00
m3o-actions
04d7bf8148 Commit from m3o/m3o action 2022-01-15 20:59:52 +00:00
m3o-actions
a83b25a9aa Commit from m3o/m3o action 2022-01-15 20:55:42 +00:00
m3o-actions
b48eab72b9 Commit from m3o/m3o action 2022-01-15 20:55:33 +00:00
m3o-actions
8a600b6131 Commit from m3o/m3o action 2022-01-15 20:54:42 +00:00
m3o-actions
8408429e9b Commit from m3o/m3o action 2022-01-15 20:53:15 +00:00
m3o-actions
20a3a5bfd7 Commit from m3o/m3o action 2022-01-15 20:53:01 +00:00
m3o-actions
f01a912eb3 Commit from m3o/m3o action 2022-01-15 20:48:02 +00:00
m3o-actions
eebea56166 Commit from m3o/m3o action 2022-01-15 20:46:39 +00:00
m3o-actions
2d8f3d735d Commit from m3o/m3o action 2022-01-14 17:42:50 +00:00
m3o-actions
ccc5de5cda Commit from m3o/m3o action 2022-01-14 17:42:44 +00:00
m3o-actions
863b60c7db Commit from m3o/m3o action 2022-01-14 16:09:20 +00:00
m3o-actions
5caf581eff Commit from m3o/m3o action 2022-01-14 09:11:51 +00:00
m3o-actions
2dda68b677 Commit from m3o/m3o action 2022-01-14 09:11:13 +00:00
m3o-actions
8967d7aed8 Commit from m3o/m3o action 2022-01-13 14:13:38 +00:00
m3o-actions
88ec3b1629 Commit from m3o/m3o action 2022-01-13 13:23:08 +00:00
m3o-actions
3b8973592b Commit from m3o/m3o action 2022-01-13 11:39:07 +00:00
m3o-actions
af71fa56b0 Commit from m3o/m3o action 2022-01-13 11:00:05 +00:00
m3o-actions
1a6e2f4cb5 Commit from m3o/m3o action 2022-01-12 15:03:53 +00:00
m3o-actions
9abf8b4e6a Commit from m3o/m3o action 2022-01-12 14:17:28 +00:00
m3o-actions
74d67fe903 Commit from m3o/m3o action 2022-01-12 10:23:25 +00:00
m3o-actions
f9a04eab0b Commit from m3o/m3o action 2022-01-12 10:10:29 +00:00
m3o-actions
ecbcaa1f37 Commit from m3o/m3o action 2022-01-12 10:08:41 +00:00
m3o-actions
fc9078369c Commit from m3o/m3o action 2022-01-12 10:03:46 +00:00
m3o-actions
9fb8b7249a Commit from m3o/m3o action 2022-01-12 09:46:51 +00:00
m3o-actions
f238a3dde3 Commit from m3o/m3o action 2022-01-12 09:44:30 +00:00
m3o-actions
06e0e031f0 Commit from m3o/m3o action 2022-01-11 15:53:58 +00:00
m3o-actions
4671615268 Commit from m3o/m3o action 2022-01-11 14:33:46 +00:00
m3o-actions
50abf5f044 Commit from m3o/m3o action 2022-01-11 12:33:30 +00:00
m3o-actions
7ebbac3eb1 Commit from m3o/m3o action 2022-01-10 20:48:03 +00:00
m3o-actions
cff39c86e7 Commit from m3o/m3o action 2022-01-10 15:39:42 +00:00
m3o-actions
200da05cf0 Commit from m3o/m3o action 2022-01-10 15:13:17 +00:00
m3o-actions
0a2f0eb713 Commit from m3o/m3o action 2022-01-10 09:20:34 +00:00
m3o-actions
0d1952d41a Commit from m3o/m3o action 2022-01-07 12:55:10 +00:00
m3o-actions
4eaa0d7a79 Commit from m3o/m3o action 2022-01-07 12:48:23 +00:00
m3o-actions
fc3cf88dd1 Commit from m3o/m3o action 2022-01-07 11:59:24 +00:00
m3o-actions
4029f043af Commit from m3o/m3o action 2022-01-07 11:55:38 +00:00
m3o-actions
768c3a7277 Commit from m3o/m3o action 2022-01-07 11:09:48 +00:00
Dominic Wong
1b6f533cda remove search example 2022-01-07 11:05:22 +00:00
m3o-actions
23efeb1b54 Commit from m3o/m3o action 2022-01-06 22:20:09 +00:00
m3o-actions
28be83a1a3 Commit from m3o/m3o action 2022-01-06 22:09:57 +00:00
m3o-actions
163098f65c Commit from m3o/m3o action 2022-01-06 18:20:05 +00:00
m3o-actions
d75eee6adc Commit from m3o/m3o action 2022-01-06 17:04:52 +00:00
m3o-actions
f62afe5c72 Commit from m3o/m3o action 2022-01-06 17:00:05 +00:00
m3o-actions
05dcddb482 Commit from m3o/m3o action 2022-01-06 16:59:33 +00:00
m3o-actions
96bb1b0a89 Commit from m3o/m3o action 2022-01-06 16:57:05 +00:00
m3o-actions
3a49edfecc Commit from m3o/m3o action 2022-01-06 16:50:27 +00:00
m3o-actions
e8cd7403b7 Commit from m3o/m3o action 2022-01-06 16:44:20 +00:00
m3o-actions
8bba336dd3 Commit from m3o/m3o action 2022-01-06 15:23:27 +00:00
m3o-actions
a8b28f6b2a Commit from m3o/m3o action 2022-01-06 14:52:18 +00:00
m3o-actions
c919eb0016 Commit from m3o/m3o action 2022-01-06 11:30:48 +00:00
m3o-actions
6443d9822b Commit from m3o/m3o action 2022-01-06 11:14:12 +00:00
m3o-actions
cd580f41a7 Commit from m3o/m3o action 2022-01-06 11:13:13 +00:00
m3o-actions
f21152e1ed Commit from m3o/m3o action 2022-01-05 15:30:45 +00:00
m3o-actions
27e13d2b6c Commit from m3o/m3o action 2021-12-29 13:41:36 +00:00
m3o-actions
8561aa8205 Commit from m3o/m3o action 2021-12-28 10:50:15 +00:00
m3o-actions
f051277b48 Commit from m3o/m3o action 2021-12-28 10:47:34 +00:00
m3o-actions
1132b4809a Commit from m3o/m3o action 2021-12-28 07:23:23 +00:00
m3o-actions
85ff0bf56f Commit from m3o/m3o action 2021-12-23 09:07:13 +00:00
m3o-actions
f362f68c54 Commit from m3o/m3o action 2021-12-22 10:20:20 +00:00
m3o-actions
063e059d70 Commit from m3o/m3o action 2021-12-21 14:18:03 +00:00
m3o-actions
1773d164e4 Commit from m3o/m3o action 2021-12-21 11:38:52 +00:00
m3o-actions
a835eaddc4 Commit from m3o/m3o action 2021-12-21 11:38:29 +00:00
m3o-actions
a905d67b2c Commit from m3o/m3o action 2021-12-21 11:37:33 +00:00
m3o-actions
9c1ae9e4d2 Commit from m3o/m3o action 2021-12-21 11:36:48 +00:00
m3o-actions
5daed5e997 Commit from m3o/m3o action 2021-12-21 11:36:33 +00:00
m3o-actions
7c8a6f80de Commit from m3o/m3o action 2021-12-21 11:27:10 +00:00
Asim Aslam
05097a471d Remove contact examples 2021-12-21 11:16:46 +00:00
m3o-actions
3d0f9dda4b Commit from m3o/m3o action 2021-12-21 10:51:03 +00:00
m3o-actions
36d8023ada Commit from m3o/m3o action 2021-12-21 09:21:58 +00:00
m3o-actions
b135490f0e Commit from m3o/m3o action 2021-12-20 20:02:20 +00:00
m3o-actions
a97ced0f02 Commit from m3o/m3o action 2021-12-20 19:53:22 +00:00
m3o-actions
002380be31 Commit from m3o/m3o action 2021-12-20 14:22:15 +00:00
m3o-actions
1211b1b74e Commit from m3o/m3o action 2021-12-20 11:10:57 +00:00
m3o-actions
9a39681342 Commit from m3o/m3o action 2021-12-17 16:16:32 +00:00
m3o-actions
fd12523b0d Commit from m3o/m3o action 2021-12-17 15:38:23 +00:00
m3o-actions
4822495226 Commit from m3o/m3o action 2021-12-17 15:26:23 +00:00
m3o-actions
9cfa252f59 Commit from m3o/m3o action 2021-12-17 14:57:36 +00:00
m3o-actions
ab4602b369 Commit from m3o/m3o action 2021-12-17 14:01:44 +00:00
m3o-actions
9c97fbb4da Commit from m3o/m3o action 2021-12-17 13:02:04 +00:00
m3o-actions
3c853a2cbc Commit from m3o/m3o action 2021-12-17 10:03:03 +00:00
m3o-actions
ed1603b391 Commit from m3o/m3o action 2021-12-17 09:58:48 +00:00
m3o-actions
6ba5ad8ce4 Commit from m3o/m3o action 2021-12-17 09:34:07 +00:00
m3o-actions
24b609b070 Commit from m3o/m3o action 2021-12-17 09:29:22 +00:00
m3o-actions
801e983f3a Commit from m3o/m3o action 2021-12-17 09:28:01 +00:00
m3o-actions
c3e28cbc66 Commit from m3o/m3o action 2021-12-17 09:26:50 +00:00
m3o-actions
c4e0fe407e Commit from m3o/m3o action 2021-12-17 09:25:23 +00:00
m3o-actions
43e6f37402 Commit from m3o/m3o action 2021-12-17 09:24:04 +00:00
m3o-actions
9036b95fd2 Commit from m3o/m3o action 2021-12-17 09:20:58 +00:00
m3o-actions
937cb915ac Commit from m3o/m3o action 2021-12-17 09:14:47 +00:00
m3o-actions
da2b23fbab Commit from m3o/m3o action 2021-12-17 08:08:27 +00:00
m3o-actions
4de67b6746 Commit from m3o/m3o action 2021-12-16 21:02:03 +00:00
m3o-actions
75ba0d6c3a Commit from m3o/m3o action 2021-12-16 19:51:32 +00:00
Asim Aslam
873ba7f939 fix examples 2021-12-16 19:47:04 +00:00
m3o-actions
a6c66fb76a Commit from m3o/m3o action 2021-12-16 19:24:48 +00:00
m3o-actions
292001f3f2 Commit from m3o/m3o action 2021-12-16 19:22:42 +00:00
m3o-actions
d7e95f687f Commit from m3o/m3o action 2021-12-16 17:34:25 +00:00
m3o-actions
32496fe696 Commit from m3o/m3o action 2021-12-16 17:18:38 +00:00
m3o-actions
86803cc1e2 Commit from m3o/m3o action 2021-12-16 17:03:59 +00:00
m3o-actions
3f24078efb Commit from m3o/m3o action 2021-12-16 17:00:50 +00:00
m3o-actions
bb753c4504 Commit from m3o/m3o action 2021-12-16 16:55:04 +00:00
m3o-actions
3c6466378c Commit from m3o/m3o action 2021-12-16 15:49:00 +00:00
m3o-actions
d921922cd9 Commit from m3o/m3o action 2021-12-16 15:17:46 +00:00
m3o-actions
d2230e009d Commit from m3o/m3o action 2021-12-16 15:16:44 +00:00
m3o-actions
536e9cfe77 Commit from m3o/m3o action 2021-12-16 15:06:05 +00:00
m3o-actions
c707489b7a Commit from m3o/m3o action 2021-12-16 14:52:39 +00:00
m3o-actions
1a28fb54f9 Commit from m3o/m3o action 2021-12-16 12:53:53 +00:00
m3o-actions
d9525396cf Commit from m3o/m3o action 2021-12-16 12:50:50 +00:00
m3o-actions
4ba7d514de Commit from m3o/m3o action 2021-12-16 12:50:13 +00:00
m3o-actions
6f19fa6c21 Commit from m3o/m3o action 2021-12-16 12:35:53 +00:00
m3o-actions
9e9cdea93c Commit from m3o/m3o action 2021-12-16 12:33:31 +00:00
m3o-actions
b15338a487 Commit from m3o/m3o action 2021-12-16 08:48:57 +00:00
m3o-actions
0dcf091fcd Commit from m3o/m3o action 2021-12-16 08:47:26 +00:00
m3o-actions
0b51a95007 Commit from m3o/m3o action 2021-12-15 16:08:33 +00:00
m3o-actions
45911a9514 Commit from m3o/m3o action 2021-12-15 13:09:54 +00:00
m3o-actions
e1e192f018 Commit from m3o/m3o action 2021-12-15 12:22:04 +00:00
m3o-actions
27a864147e Commit from m3o/m3o action 2021-12-15 12:19:20 +00:00
m3o-actions
c1b77789fa Commit from m3o/m3o action 2021-12-15 11:31:44 +00:00
m3o-actions
4620490768 Commit from m3o/m3o action 2021-12-15 11:26:16 +00:00
m3o-actions
114a758381 Commit from m3o/m3o action 2021-12-15 11:22:20 +00:00
Asim Aslam
56f6f1b226 remove vote endpoint 2021-12-15 11:17:17 +00:00
m3o-actions
669c89d2ce Commit from m3o/m3o action 2021-12-15 10:55:54 +00:00
m3o-actions
1ba6f0112e Commit from m3o/m3o action 2021-12-15 10:49:43 +00:00
m3o-actions
683ed620f6 Commit from m3o/m3o action 2021-12-15 10:21:49 +00:00
m3o-actions
f456c792e3 Commit from m3o/m3o action 2021-12-15 10:18:05 +00:00
m3o-actions
501ad85d89 Commit from m3o/m3o action 2021-12-15 10:07:27 +00:00
m3o-actions
f5ac2484b1 Commit from m3o/m3o action 2021-12-15 09:51:05 +00:00
m3o-actions
ffe83a0e6b Commit from m3o/m3o action 2021-12-15 09:21:40 +00:00
m3o-actions
a27ae23ef5 Commit from m3o/m3o action 2021-12-15 09:07:31 +00:00
m3o-actions
3268e8b833 Commit from m3o/m3o action 2021-12-14 14:45:32 +00:00
m3o-actions
f4d0b1d660 Commit from m3o/m3o action 2021-12-14 14:42:56 +00:00
m3o-actions
ed69c094ef Commit from m3o/m3o action 2021-12-14 13:41:34 +00:00
m3o-actions
f98122a9dd Commit from m3o/m3o action 2021-12-14 12:51:59 +00:00
m3o-actions
ec54c879cb Commit from m3o/m3o action 2021-12-14 12:41:29 +00:00
m3o-actions
44073d45ca Commit from m3o/m3o action 2021-12-14 12:40:38 +00:00
m3o-actions
06105ec3b9 Commit from m3o/m3o action 2021-12-14 12:19:31 +00:00
m3o-actions
0c476e33bd Commit from m3o/m3o action 2021-12-14 12:15:33 +00:00
m3o-actions
8241c345fb Commit from m3o/m3o action 2021-12-14 11:08:30 +00:00
m3o-actions
0eb39e2461 Commit from m3o/m3o action 2021-12-14 11:00:00 +00:00
m3o-actions
8ce3354f04 Commit from m3o/m3o action 2021-12-14 10:54:12 +00:00
m3o-actions
f5475a5170 Commit from m3o/m3o action 2021-12-14 10:52:37 +00:00
m3o-actions
90e94ef592 Commit from m3o/m3o action 2021-12-14 10:51:48 +00:00
m3o-actions
03c04de4f0 Commit from m3o/m3o action 2021-12-14 09:48:42 +00:00
m3o-actions
06389f6ad6 Commit from m3o/m3o action 2021-12-14 09:14:36 +00:00
m3o-actions
7a11bb07da Commit from m3o/m3o action 2021-12-13 21:11:39 +00:00
m3o-actions
aa8a17a47c Commit from m3o/m3o action 2021-12-13 20:45:04 +00:00
m3o-actions
0310b8e3df Commit from m3o/m3o action 2021-12-13 18:58:10 +00:00
m3o-actions
e6a0e215ab Commit from m3o/m3o action 2021-12-13 18:52:15 +00:00
m3o-actions
e649f76975 Commit from m3o/m3o action 2021-12-13 18:51:36 +00:00
m3o-actions
2b8e5d7870 Commit from m3o/m3o action 2021-12-13 17:08:03 +00:00
m3o-actions
23de678eeb Commit from m3o/m3o action 2021-12-13 17:04:45 +00:00
m3o-actions
9a662c1dcc Commit from m3o/m3o action 2021-12-13 16:12:03 +00:00
m3o-actions
8a940fae02 Commit from m3o/m3o action 2021-12-13 15:29:27 +00:00
m3o-actions
fdcfcfd347 Commit from m3o/m3o action 2021-12-13 15:23:30 +00:00
m3o-actions
65df1a1342 Commit from m3o/m3o action 2021-12-13 15:22:21 +00:00
m3o-actions
93e6f9f01d Commit from m3o/m3o action 2021-12-13 15:16:03 +00:00
m3o-actions
b84d5933b9 Commit from m3o/m3o action 2021-12-13 14:58:15 +00:00
m3o-actions
f8e430b5a7 Commit from m3o/m3o action 2021-12-13 14:05:31 +00:00
m3o-actions
244d46bb05 Commit from m3o/m3o action 2021-12-13 14:04:45 +00:00
m3o-actions
6e4709f6fc Commit from m3o/m3o action 2021-12-13 13:51:50 +00:00
m3o-actions
4a6f0939d7 Commit from m3o/m3o action 2021-12-13 13:51:33 +00:00
m3o-actions
d287d1f1bd Commit from m3o/m3o action 2021-12-13 13:27:04 +00:00
m3o-actions
7fadd2533d Commit from m3o/m3o action 2021-12-13 13:24:59 +00:00
m3o-actions
ea14846c46 Commit from m3o/m3o action 2021-12-13 13:24:43 +00:00
m3o-actions
f6e156bc79 Commit from m3o/m3o action 2021-12-13 13:22:24 +00:00
m3o-actions
e5a5c4e65b Commit from m3o/m3o action 2021-12-13 13:16:18 +00:00
m3o-actions
792375ce99 Commit from m3o/m3o action 2021-12-13 13:08:22 +00:00
m3o-actions
f199e7ce48 Commit from m3o/m3o action 2021-12-13 12:27:50 +00:00
m3o-actions
72e5d61a4f Commit from m3o/m3o action 2021-12-13 12:26:36 +00:00
m3o-actions
01c65269af Commit from m3o/m3o action 2021-12-13 11:17:00 +00:00
m3o-actions
cde5ee4b4a Commit from m3o/m3o action 2021-12-12 09:32:32 +00:00
m3o-actions
a803ac6cb2 Commit from m3o/m3o action 2021-12-11 20:56:19 +00:00
m3o-actions
4bf0f8117b Commit from m3o/m3o action 2021-12-11 20:53:26 +00:00
m3o-actions
83576d7c80 Commit from m3o/m3o action 2021-12-11 20:32:22 +00:00
m3o-actions
72d0bf6e92 Commit from m3o/m3o action 2021-12-11 20:28:22 +00:00
m3o-actions
f3af48b74a Commit from m3o/m3o action 2021-12-11 20:27:08 +00:00
m3o-actions
a411a0357f Commit from m3o/m3o action 2021-12-11 08:24:45 +00:00
m3o-actions
1768e5a808 Commit from m3o/m3o action 2021-12-10 20:49:19 +00:00
m3o-actions
c0d2552cbd Commit from m3o/m3o action 2021-12-10 20:47:33 +00:00
m3o-actions
768b2ff48a Commit from m3o/m3o action 2021-12-10 20:41:32 +00:00
m3o-actions
5b868b14a1 Commit from m3o/m3o action 2021-12-10 17:19:51 +00:00
m3o-actions
05bd1cc019 Commit from m3o/m3o action 2021-12-10 16:48:02 +00:00
m3o-actions
d43cef6a73 Commit from m3o/m3o action 2021-12-10 16:24:17 +00:00
m3o-actions
d553a75980 Commit from m3o/m3o action 2021-12-10 16:17:36 +00:00
m3o-actions
075ce9c66d Commit from m3o/m3o action 2021-12-10 16:03:26 +00:00
m3o-actions
14f8578107 Commit from m3o/m3o action 2021-12-10 15:55:39 +00:00
m3o-actions
ee1e2f343f Commit from m3o/m3o action 2021-12-10 15:51:57 +00:00
m3o-actions
d1d2e772b1 Commit from m3o/m3o action 2021-12-10 15:49:58 +00:00
m3o-actions
39c260aa7d Commit from m3o/m3o action 2021-12-10 15:48:00 +00:00
m3o-actions
df2e3791f8 Commit from m3o/m3o action 2021-12-10 15:47:28 +00:00
m3o-actions
b438949b74 Commit from m3o/m3o action 2021-12-10 15:45:38 +00:00
m3o-actions
522d1cfddf Commit from m3o/m3o action 2021-12-10 15:44:12 +00:00
m3o-actions
99dd48cf66 Commit from m3o/m3o action 2021-12-10 15:30:19 +00:00
m3o-actions
17032521e6 Commit from m3o/m3o action 2021-12-10 14:54:50 +00:00
m3o-actions
641305066b Commit from m3o/m3o action 2021-12-10 14:43:35 +00:00
m3o-actions
05f5fd60de Commit from m3o/m3o action 2021-12-10 12:59:08 +00:00
m3o-actions
9b6b287efd Commit from m3o/m3o action 2021-12-10 12:20:58 +00:00
m3o-actions
fb17d4eeb8 Commit from m3o/m3o action 2021-12-10 11:37:47 +00:00
m3o-actions
9e505ad6fd Commit from m3o/m3o action 2021-12-10 11:29:30 +00:00
m3o-actions
c9f71d2779 Commit from m3o/m3o action 2021-12-10 11:27:29 +00:00
m3o-actions
d792a8407f Commit from m3o/m3o action 2021-12-10 11:19:12 +00:00
m3o-actions
f55142f3fd Commit from m3o/m3o action 2021-12-10 11:12:15 +00:00
m3o-actions
77e5eeb9d0 Commit from m3o/m3o action 2021-12-10 10:54:08 +00:00
m3o-actions
6e56e7fb79 Commit from m3o/m3o action 2021-12-10 10:53:08 +00:00
m3o-actions
4cfcb489f5 Commit from m3o/m3o action 2021-12-10 10:39:35 +00:00
m3o-actions
fbd3cc92b8 Commit from m3o/m3o action 2021-12-10 10:32:30 +00:00
m3o-actions
d31537fab5 Commit from m3o/m3o action 2021-12-10 10:19:18 +00:00
m3o-actions
3b138131a9 Commit from m3o/m3o action 2021-12-10 10:01:12 +00:00
m3o-actions
620ee63c4f Commit from m3o/m3o action 2021-12-10 09:30:33 +00:00
m3o-actions
6a2dd1866b Commit from m3o/m3o action 2021-12-10 09:22:42 +00:00
m3o-actions
71c5bb6e03 Commit from m3o/m3o action 2021-12-10 09:21:48 +00:00
m3o-actions
3b8a75307d Commit from m3o/m3o action 2021-12-09 21:21:57 +00:00
m3o-actions
43846051bf Commit from m3o/m3o action 2021-12-09 21:19:25 +00:00
m3o-actions
84a5ed29c6 Commit from m3o/m3o action 2021-12-09 21:14:57 +00:00
m3o-actions
0d54e22630 Commit from m3o/m3o action 2021-12-09 20:31:03 +00:00
m3o-actions
8fd93d33a8 Commit from m3o/m3o action 2021-12-09 20:27:04 +00:00
m3o-actions
633b2dc986 Commit from m3o/m3o action 2021-12-09 20:01:23 +00:00
m3o-actions
9726537930 Commit from m3o/m3o action 2021-12-09 18:15:58 +00:00
m3o-actions
a7335378e5 Commit from m3o/m3o action 2021-12-09 16:49:13 +00:00
m3o-actions
11ea4be31e Commit from m3o/m3o action 2021-12-09 16:43:56 +00:00
m3o-actions
cbee5fbe46 Commit from m3o/m3o action 2021-12-09 16:37:46 +00:00
m3o-actions
87645bef95 Commit from m3o/m3o action 2021-12-09 16:37:37 +00:00
m3o-actions
fbb3b8b37f Commit from m3o/m3o action 2021-12-09 16:28:59 +00:00
m3o-actions
c578c665fb Commit from m3o/m3o action 2021-12-09 16:03:02 +00:00
m3o-actions
192963e19e Commit from m3o/m3o action 2021-12-09 15:56:25 +00:00
m3o-actions
f6a6c065b1 Commit from m3o/m3o action 2021-12-09 15:06:12 +00:00
m3o-actions
92edd2c7df Commit from m3o/m3o action 2021-12-09 15:03:36 +00:00
m3o-actions
6f04af332e Commit from m3o/m3o action 2021-12-09 15:02:43 +00:00
m3o-actions
e6a4ba7a6a Commit from m3o/m3o action 2021-12-09 14:49:22 +00:00
m3o-actions
8245cf14ad Commit from m3o/m3o action 2021-12-09 14:32:12 +00:00
m3o-actions
d310afaf59 Commit from m3o/m3o action 2021-12-09 14:20:17 +00:00
m3o-actions
ead8a52c00 Commit from m3o/m3o action 2021-12-09 14:18:03 +00:00
m3o-actions
44959a42ae Commit from m3o/m3o action 2021-12-09 13:41:13 +00:00
m3o-actions
9400bd92ed Commit from m3o/m3o action 2021-12-09 13:28:25 +00:00
m3o-actions
f3ad0d0a31 Commit from m3o/m3o action 2021-12-09 13:16:27 +00:00
m3o-actions
c85190845b Commit from m3o/m3o action 2021-12-09 11:26:07 +00:00
Asim Aslam
f3960b5942 Remove space vote 2021-12-09 11:18:52 +00:00
m3o-actions
14bf65c01b Commit from m3o/m3o action 2021-12-09 10:53:29 +00:00
m3o-actions
c246e99019 Commit from m3o/m3o action 2021-12-09 10:29:13 +00:00
m3o-actions
945dd22f3f Commit from m3o/m3o action 2021-12-08 18:02:09 +00:00
m3o-actions
9f36bc2691 Commit from m3o/m3o action 2021-12-08 14:53:42 +00:00
m3o-actions
eca42fbc54 Commit from m3o/m3o action 2021-12-08 14:43:43 +00:00
m3o-actions
ba04dfd77e Commit from m3o/m3o action 2021-12-08 14:26:17 +00:00
Asim Aslam
af45cd2894 remove nft vote endpoint 2021-12-08 14:22:33 +00:00
m3o-actions
0a74e37b3d Commit from m3o/m3o action 2021-12-08 14:05:05 +00:00
m3o-actions
3e76b80858 Commit from m3o/m3o action 2021-12-08 12:22:21 +00:00
m3o-actions
40fb1aabc2 Commit from m3o/m3o action 2021-12-08 12:18:50 +00:00
m3o-actions
2166a3322f Commit from m3o/m3o action 2021-12-08 11:26:11 +00:00
m3o-actions
f7d1a4e72a Commit from m3o/m3o action 2021-12-08 11:21:57 +00:00
m3o-actions
717896adeb Commit from m3o/m3o action 2021-12-08 11:03:41 +00:00
m3o-actions
614e6f96d5 Commit from m3o/m3o action 2021-12-08 11:03:07 +00:00
m3o-actions
884146ef30 Commit from m3o/m3o action 2021-12-08 11:02:02 +00:00
m3o-actions
041d77e930 Commit from m3o/m3o action 2021-12-08 11:01:23 +00:00
m3o-actions
2148ec979a Commit from m3o/m3o action 2021-12-08 11:00:40 +00:00
m3o-actions
6ebb0a6fc0 Commit from m3o/m3o action 2021-12-08 11:00:14 +00:00
m3o-actions
a2297b4940 Commit from m3o/m3o action 2021-12-08 10:59:48 +00:00
m3o-actions
54ac1d7b5e Commit from m3o/m3o action 2021-12-08 10:59:06 +00:00
m3o-actions
5d4497ce02 Commit from m3o/m3o action 2021-12-08 10:57:18 +00:00
m3o-actions
5cf1b55904 Commit from m3o/m3o action 2021-12-08 10:55:57 +00:00
m3o-actions
4b1ca7d2cf Commit from m3o/m3o action 2021-12-08 10:55:53 +00:00
m3o-actions
18f89d3897 Commit from m3o/m3o action 2021-12-08 10:41:28 +00:00
m3o-actions
e56ccf9c5a Commit from m3o/m3o action 2021-12-07 14:20:21 +00:00
m3o-actions
21d79de877 Commit from m3o/m3o action 2021-12-07 13:05:17 +00:00
m3o-actions
99efab9e84 Commit from m3o/m3o action 2021-12-07 12:56:51 +00:00
m3o-actions
17969ed728 Commit from m3o/m3o action 2021-12-07 11:38:27 +00:00
m3o-actions
18bb483c19 Commit from m3o/m3o action 2021-12-07 11:36:32 +00:00
m3o-actions
2df19f48f9 Commit from m3o/m3o action 2021-12-07 11:30:32 +00:00
m3o-actions
1fd95a1ba2 Commit from m3o/m3o action 2021-12-07 11:27:50 +00:00
m3o-actions
d561c13a96 Commit from m3o/m3o action 2021-12-07 11:17:50 +00:00
m3o-actions
a40743588f Commit from m3o/m3o action 2021-12-06 16:40:26 +00:00
m3o-actions
ba5525397e Commit from m3o/m3o action 2021-12-04 22:37:52 +00:00
m3o-actions
8cb1bd3b0e Commit from m3o/m3o action 2021-12-04 22:25:26 +00:00
m3o-actions
bb37bc2303 Commit from m3o/m3o action 2021-12-04 22:22:13 +00:00
m3o-actions
952eefa075 Commit from m3o/m3o action 2021-12-03 17:02:26 +00:00
m3o-actions
ce4bf96d24 Commit from m3o/m3o action 2021-12-03 16:43:14 +00:00
m3o-actions
38ca628ece Commit from m3o/m3o action 2021-12-03 16:26:46 +00:00
m3o-actions
f18524b9be Commit from m3o/m3o action 2021-12-03 09:39:03 +00:00
m3o-actions
440ace2ff1 Commit from m3o/m3o action 2021-12-02 18:29:24 +00:00
m3o-actions
e8b0af2e55 Commit from m3o/m3o action 2021-12-02 18:28:04 +00:00
m3o-actions
0b38412bf3 Commit from m3o/m3o action 2021-12-02 16:51:01 +00:00
m3o-actions
b9768eb8b7 Commit from m3o/m3o action 2021-12-02 16:02:08 +00:00
m3o-actions
e7e04b4dc6 Commit from m3o/m3o action 2021-12-02 15:58:50 +00:00
m3o-actions
699b61e7c0 Commit from m3o/m3o action 2021-12-02 13:38:03 +00:00
m3o-actions
4cb3a27308 Commit from m3o/m3o action 2021-12-02 13:36:47 +00:00
m3o-actions
0f075f596c Commit from m3o/m3o action 2021-12-02 13:36:29 +00:00
m3o-actions
e474140446 Commit from m3o/m3o action 2021-12-02 13:35:53 +00:00
m3o-actions
455cc584c1 Commit from m3o/m3o action 2021-12-02 13:34:34 +00:00
m3o-actions
f2720472ef Commit from m3o/m3o action 2021-12-02 13:28:38 +00:00
m3o-actions
e4d135221e Commit from m3o/m3o action 2021-12-02 13:28:35 +00:00
m3o-actions
ab6fda2a88 Commit from m3o/m3o action 2021-12-02 13:26:57 +00:00
m3o-actions
949f7358ae Commit from m3o/m3o action 2021-12-02 13:26:09 +00:00
m3o-actions
e92b8761e4 Commit from m3o/m3o action 2021-12-02 13:24:47 +00:00
m3o-actions
e480f7b75e Commit from m3o/m3o action 2021-12-02 13:23:56 +00:00
m3o-actions
f72459c80c Commit from m3o/m3o action 2021-12-02 13:23:38 +00:00
m3o-actions
4eaec6494d Commit from m3o/m3o action 2021-12-02 13:16:07 +00:00
m3o-actions
ff8579bd7b Commit from m3o/m3o action 2021-12-02 13:15:54 +00:00
m3o-actions
d7a2a7192c Commit from m3o/m3o action 2021-12-02 13:12:55 +00:00
m3o-actions
9484560933 Commit from m3o/m3o action 2021-12-02 13:10:12 +00:00
m3o-actions
4d9f2537b3 Commit from m3o/m3o action 2021-12-02 13:10:10 +00:00
m3o-actions
4ad39a9390 Commit from m3o/m3o action 2021-12-02 13:08:42 +00:00
m3o-actions
6e90e55833 Commit from m3o/m3o action 2021-12-02 13:08:15 +00:00
m3o-actions
e0df52d52d Commit from m3o/m3o action 2021-12-02 13:06:38 +00:00
m3o-actions
85d2609a1a Commit from m3o/m3o action 2021-12-02 13:05:01 +00:00
m3o-actions
9daed33d8c Commit from m3o/m3o action 2021-12-02 13:04:36 +00:00
m3o-actions
381437bc3e Commit from m3o/m3o action 2021-12-02 13:04:09 +00:00
m3o-actions
aebe1be645 Commit from m3o/m3o action 2021-12-02 13:03:04 +00:00
m3o-actions
7c4b2d3be8 Commit from m3o/m3o action 2021-12-02 08:35:08 +00:00
m3o-actions
dc4ea3ec58 Commit from m3o/m3o action 2021-12-02 08:27:08 +00:00
m3o-actions
59088be869 Commit from m3o/m3o action 2021-12-02 08:24:35 +00:00
m3o-actions
5c417658ba Commit from m3o/m3o action 2021-12-02 08:24:13 +00:00
m3o-actions
6635c69668 Commit from m3o/m3o action 2021-12-01 21:17:56 +00:00
m3o-actions
d37db98b30 Commit from m3o/m3o action 2021-12-01 21:10:14 +00:00
m3o-actions
470af2ef62 Commit from m3o/m3o action 2021-12-01 21:00:43 +00:00
m3o-actions
f80a59c744 Commit from m3o/m3o action 2021-12-01 18:57:58 +00:00
m3o-actions
c93f6ca3f8 Commit from m3o/m3o action 2021-12-01 18:47:57 +00:00
m3o-actions
fb09d21ee3 Commit from m3o/m3o action 2021-12-01 15:42:23 +00:00
m3o-actions
c72af16e84 Commit from m3o/m3o action 2021-12-01 15:41:49 +00:00
m3o-actions
82aff73527 Commit from m3o/m3o action 2021-12-01 15:11:15 +00:00
m3o-actions
f5a9559dd5 Commit from m3o/m3o action 2021-12-01 15:09:24 +00:00
m3o-actions
b74cd32327 Commit from m3o/m3o action 2021-12-01 15:05:34 +00:00
m3o-actions
f2acce6472 Commit from m3o/m3o action 2021-12-01 15:03:06 +00:00
m3o-actions
ca487399c4 Commit from m3o/m3o action 2021-12-01 14:57:12 +00:00
m3o-actions
804c7c268f Commit from m3o/m3o action 2021-12-01 14:26:37 +00:00
m3o-actions
7f887c0e5c Commit from m3o/m3o action 2021-12-01 14:23:00 +00:00
m3o-actions
5280b7371d Commit from m3o/m3o action 2021-12-01 14:08:42 +00:00
m3o-actions
ef81a4f249 Commit from m3o/m3o action 2021-12-01 14:00:44 +00:00
m3o-actions
c07c3d2c56 Commit from m3o/m3o action 2021-12-01 13:58:11 +00:00
m3o-actions
b7d260f835 Commit from m3o/m3o action 2021-12-01 13:29:26 +00:00
m3o-actions
244317372a Commit from m3o/m3o action 2021-12-01 13:24:18 +00:00
m3o-actions
e155efc8bc Commit from m3o/m3o action 2021-12-01 12:18:42 +00:00
m3o-actions
170212b863 Commit from m3o/m3o action 2021-12-01 12:01:26 +00:00
m3o-actions
981643b54e Commit from m3o/m3o action 2021-12-01 12:00:37 +00:00
m3o-actions
49b020b77d Commit from m3o/m3o action 2021-12-01 11:48:26 +00:00
m3o-actions
a0c2f0e902 Commit from m3o/m3o action 2021-12-01 11:36:12 +00:00
m3o-actions
ecd3cd917e Commit from m3o/m3o action 2021-12-01 11:35:02 +00:00
m3o-actions
cc85c6fecb Commit from m3o/m3o action 2021-12-01 11:34:27 +00:00
m3o-actions
214ee72d62 Commit from m3o/m3o action 2021-12-01 11:34:07 +00:00
m3o-actions
0c5b55927a Commit from m3o/m3o action 2021-12-01 11:32:51 +00:00
m3o-actions
b33cea5122 Commit from m3o/m3o action 2021-12-01 11:31:56 +00:00
m3o-actions
f3206ed31c Commit from m3o/m3o action 2021-12-01 11:04:27 +00:00
m3o-actions
149807a75c Commit from m3o/m3o action 2021-12-01 09:21:49 +00:00
m3o-actions
612fc2de62 Commit from m3o/m3o action 2021-11-30 21:41:21 +00:00
m3o-actions
9b283db5fe Commit from m3o/m3o action 2021-11-30 21:38:52 +00:00
m3o-actions
042289cc6f Commit from m3o/m3o action 2021-11-30 10:34:26 +00:00
m3o-actions
4db6e7b4ba Commit from m3o/m3o action 2021-11-30 10:33:26 +00:00
m3o-actions
322b0a4106 Commit from m3o/m3o action 2021-11-30 10:07:29 +00:00
m3o-actions
3f4c3f86df Commit from m3o/m3o action 2021-11-29 13:51:59 +00:00
m3o-actions
eda3404230 Commit from m3o/m3o action 2021-11-29 13:50:50 +00:00
m3o-actions
ec4c8a74bb Commit from m3o/m3o action 2021-11-29 13:50:07 +00:00
m3o-actions
21b52c415d Commit from m3o/m3o action 2021-11-29 13:49:55 +00:00
m3o-actions
762c2c0fe1 Commit from m3o/m3o action 2021-11-29 10:04:20 +00:00
m3o-actions
96a4f54d29 Commit from m3o/m3o action 2021-11-29 10:04:08 +00:00
m3o-actions
85b2a409d1 Commit from m3o/m3o action 2021-11-29 10:03:15 +00:00
m3o-actions
0f3166d4e8 Commit from m3o/m3o action 2021-11-29 10:02:08 +00:00
m3o-actions
d814c2acf7 Commit from m3o/m3o action 2021-11-29 10:01:31 +00:00
m3o-actions
8c56ab81dc Commit from m3o/m3o action 2021-11-29 10:01:21 +00:00
m3o-actions
f5c0e5528e Commit from m3o/m3o action 2021-11-28 15:24:25 +00:00
m3o-actions
672f12a626 Commit from m3o/m3o action 2021-11-28 15:24:13 +00:00
m3o-actions
bb625c5e27 Commit from m3o/m3o action 2021-11-28 15:16:46 +00:00
m3o-actions
dceb4a3d15 Commit from m3o/m3o action 2021-11-28 13:03:55 +00:00
m3o-actions
0989ba261d Commit from m3o/m3o action 2021-11-28 13:02:34 +00:00
m3o-actions
a22808668d Commit from m3o/m3o action 2021-11-28 13:01:57 +00:00
m3o-actions
678101a8c1 Commit from m3o/m3o action 2021-11-28 13:01:30 +00:00
m3o-actions
272b9b9ec4 Commit from m3o/m3o action 2021-11-26 16:06:46 +00:00
m3o-actions
ede720bbcc Commit from m3o/m3o action 2021-11-26 15:46:26 +00:00
m3o-actions
b581d55bab Commit from m3o/m3o action 2021-11-26 12:57:45 +00:00
m3o-actions
1232a8904f Commit from m3o/m3o action 2021-11-26 12:50:18 +00:00
m3o-actions
81c307da6f Commit from m3o/m3o action 2021-11-26 12:45:31 +00:00
m3o-actions
dac0425b2a Commit from m3o/m3o action 2021-11-26 12:42:49 +00:00
m3o-actions
06ef8db313 Commit from m3o/m3o action 2021-11-26 12:42:17 +00:00
m3o-actions
5b47bd8d20 Commit from m3o/m3o action 2021-11-26 12:39:33 +00:00
m3o-actions
8b220a4f84 Commit from m3o/m3o action 2021-11-26 12:38:58 +00:00
m3o-actions
87630a4bfd Commit from m3o/m3o action 2021-11-26 12:34:00 +00:00
m3o-actions
8e682f8359 Commit from m3o/m3o action 2021-11-26 11:50:41 +00:00
m3o-actions
6506023057 Commit from m3o/m3o action 2021-11-26 11:49:08 +00:00
m3o-actions
c531597f93 Commit from m3o/m3o action 2021-11-26 11:14:55 +00:00
m3o-actions
0547d347c4 Commit from m3o/m3o action 2021-11-26 11:14:49 +00:00
m3o-actions
1084761795 Commit from m3o/m3o action 2021-11-26 11:04:53 +00:00
m3o-actions
6ce71d618e Commit from m3o/m3o action 2021-11-26 11:01:00 +00:00
m3o-actions
8ba89dded0 Commit from m3o/m3o action 2021-11-26 10:59:48 +00:00
m3o-actions
7448f9c556 Commit from m3o/m3o action 2021-11-26 10:47:45 +00:00
m3o-actions
15b0ea2d2c Commit from m3o/m3o action 2021-11-26 10:33:54 +00:00
m3o-actions
04883e7c8c Commit from m3o/m3o action 2021-11-26 10:16:51 +00:00
m3o-actions
9e1a6baeb8 Commit from m3o/m3o action 2021-11-25 21:44:09 +00:00
m3o-actions
c680a1c055 Commit from m3o/m3o action 2021-11-24 17:45:32 +00:00
m3o-actions
36b779de0d Commit from m3o/m3o action 2021-11-24 11:51:13 +00:00
m3o-actions
0c995edf26 Commit from m3o/m3o action 2021-11-24 11:49:42 +00:00
m3o-actions
8d7ad0b58b Commit from m3o/m3o action 2021-11-24 10:57:36 +00:00
m3o-actions
321c5b9f6f Commit from m3o/m3o action 2021-11-24 10:48:06 +00:00
m3o-actions
3f9e5d8723 Commit from m3o/m3o action 2021-11-24 10:46:51 +00:00
m3o-actions
faf22546b7 Commit from m3o/m3o action 2021-11-23 12:56:15 +00:00
m3o-actions
a083415879 Commit from m3o/m3o action 2021-11-23 12:49:06 +00:00
m3o-actions
cd45d400fb Commit from m3o/m3o action 2021-11-22 19:02:08 +00:00
m3o-actions
bb36584e1a Commit from m3o/m3o action 2021-11-22 15:40:26 +00:00
m3o-actions
894cd4e923 Commit from m3o/m3o action 2021-11-22 15:29:39 +00:00
m3o-actions
39f8d5f3fb Commit from m3o/m3o action 2021-11-22 15:25:16 +00:00
m3o-actions
54c8f9dcb6 Commit from m3o/m3o action 2021-11-22 15:24:12 +00:00
m3o-actions
a51bd71f2d Commit from m3o/m3o action 2021-11-22 15:22:24 +00:00
m3o-actions
3ea8266db8 Commit from m3o/m3o action 2021-11-22 15:20:49 +00:00
m3o-actions
230e477ceb Commit from m3o/m3o action 2021-11-22 15:17:40 +00:00
m3o-actions
5575045afe Commit from m3o/m3o action 2021-11-22 15:16:21 +00:00
m3o-actions
538c015b32 Commit from m3o/m3o action 2021-11-22 15:13:24 +00:00
m3o-actions
f799ac0771 Commit from m3o/m3o action 2021-11-22 15:12:37 +00:00
m3o-actions
2de1245364 Commit from m3o/m3o action 2021-11-22 15:03:59 +00:00
m3o-actions
6ab7deb939 Commit from m3o/m3o action 2021-11-22 15:03:08 +00:00
m3o-actions
82e3f11c72 Commit from m3o/m3o action 2021-11-22 15:01:25 +00:00
m3o-actions
7a74865089 Commit from m3o/m3o action 2021-11-22 15:00:17 +00:00
m3o-actions
0231fe345f Commit from m3o/m3o action 2021-11-22 14:28:24 +00:00
m3o-actions
96d7eb54ed Commit from m3o/m3o action 2021-11-22 12:57:29 +00:00
m3o-actions
65ce64530e Commit from m3o/m3o action 2021-11-22 12:56:40 +00:00
m3o-actions
dd6aa87548 Commit from m3o/m3o action 2021-11-22 12:53:58 +00:00
m3o-actions
ee8da57912 Commit from m3o/m3o action 2021-11-22 12:50:36 +00:00
m3o-actions
0096558263 Commit from m3o/m3o action 2021-11-22 12:48:56 +00:00
m3o-actions
ed691ec515 Commit from m3o/m3o action 2021-11-22 12:25:01 +00:00
m3o-actions
c2fb06ae73 Commit from m3o/m3o action 2021-11-21 09:49:14 +00:00
m3o-actions
3d54b046da Commit from m3o/m3o action 2021-11-21 09:49:01 +00:00
m3o-actions
d33dbbf317 Commit from m3o/m3o action 2021-11-21 09:48:05 +00:00
m3o-actions
77a58e78bd Commit from m3o/m3o action 2021-11-19 14:29:44 +00:00
m3o-actions
c18f47ca4c Commit from m3o/m3o action 2021-11-19 12:14:30 +00:00
m3o-actions
33398d3eb8 Commit from m3o/m3o action 2021-11-19 11:58:09 +00:00
m3o-actions
bb46995e2f Commit from m3o/m3o action 2021-11-19 11:29:01 +00:00
m3o-actions
9c534ced3d Commit from m3o/m3o action 2021-11-19 11:06:58 +00:00
m3o-actions
15c55dec36 Commit from m3o/m3o action 2021-11-19 10:54:21 +00:00
m3o-actions
fb13c684fd Commit from m3o/m3o action 2021-11-18 13:50:00 +00:00
m3o-actions
65c906fbdc Commit from m3o/m3o action 2021-11-18 13:06:17 +00:00
m3o-actions
c362c676b2 Commit from m3o/m3o action 2021-11-18 13:02:12 +00:00
m3o-actions
9702ed5306 Commit from m3o/m3o action 2021-11-18 13:01:10 +00:00
m3o-actions
afe052b320 Commit from m3o/m3o action 2021-11-18 12:49:57 +00:00
Asim Aslam
a7879d3ff0 in travis test flag 2021-11-18 08:33:36 +00:00
Asim Aslam
45d3c6a791 remove broken examples 2021-11-18 08:32:29 +00:00
Asim Aslam
3760aaf9dd remove broken examples 2021-11-18 08:32:04 +00:00
m3o-actions
3953482915 Commit from m3o/m3o action 2021-11-17 22:21:48 +00:00
m3o-actions
9864b467b8 Commit from m3o/m3o action 2021-11-17 20:29:20 +00:00
m3o-actions
675871d282 Commit from m3o/m3o action 2021-11-17 20:17:39 +00:00
m3o-actions
3ac4947f91 Commit from m3o/m3o action 2021-11-17 20:15:24 +00:00
m3o-actions
3167558049 Commit from m3o/m3o action 2021-11-17 19:49:10 +00:00
m3o-actions
2958807fe2 Commit from m3o/m3o action 2021-11-17 16:59:11 +00:00
m3o-actions
8e553f6e16 Commit from m3o/m3o action 2021-11-17 16:56:17 +00:00
m3o-actions
bc769baed5 Commit from m3o/m3o action 2021-11-17 16:55:33 +00:00
m3o-actions
2ca79f5288 Commit from m3o/m3o action 2021-11-17 16:53:57 +00:00
m3o-actions
a22b8a3053 Commit from m3o/m3o action 2021-11-17 16:53:35 +00:00
m3o-actions
fd05c41d21 Commit from m3o/m3o action 2021-11-17 16:50:32 +00:00
m3o-actions
9bfc15e14a Commit from m3o/m3o action 2021-11-17 16:39:54 +00:00
m3o-actions
b522b298f3 Commit from m3o/m3o action 2021-11-17 16:29:53 +00:00
m3o-actions
14d247a66c Commit from m3o/m3o action 2021-11-17 12:37:29 +00:00
m3o-actions
ef2606dc60 Commit from m3o/m3o action 2021-11-17 12:28:02 +00:00
m3o-actions
be8f5aeae4 Commit from m3o/m3o action 2021-11-17 12:27:15 +00:00
m3o-actions
8dcea9e986 Commit from m3o/m3o action 2021-11-17 11:37:31 +00:00
m3o-actions
af0c644ac3 Commit from m3o/m3o action 2021-11-17 11:10:07 +00:00
m3o-actions
ebd60b1d5c Commit from m3o/m3o action 2021-11-17 10:49:59 +00:00
m3o-actions
38d4ff491f Commit from m3o/m3o action 2021-11-17 10:49:43 +00:00
m3o-actions
21395762be Commit from m3o/m3o action 2021-11-17 10:46:33 +00:00
m3o-actions
28a3532ecb Commit from m3o/m3o action 2021-11-17 10:43:23 +00:00
m3o-actions
7fec9491f1 Commit from m3o/m3o action 2021-11-17 10:34:05 +00:00
m3o-actions
ae8a49329f Commit from m3o/m3o action 2021-11-17 10:27:35 +00:00
m3o-actions
93af926271 Commit from m3o/m3o action 2021-11-17 10:20:05 +00:00
m3o-actions
40f0fb073d Commit from m3o/m3o action 2021-11-17 09:54:21 +00:00
m3o-actions
4c6a11492e Commit from m3o/m3o action 2021-11-17 09:06:03 +00:00
m3o-actions
e5f79370cd Commit from m3o/m3o action 2021-11-17 09:05:28 +00:00
m3o-actions
4e8f9de392 Commit from m3o/m3o action 2021-11-16 15:11:11 +00:00
m3o-actions
03b2b439e5 Commit from m3o/m3o action 2021-11-16 15:11:05 +00:00
m3o-actions
f1e6613177 Commit from m3o/m3o action 2021-11-16 14:48:52 +00:00
m3o-actions
ea7e43f6cd Commit from m3o/m3o action 2021-11-16 14:37:38 +00:00
m3o-actions
edd466a2f9 Commit from m3o/m3o action 2021-11-16 14:33:39 +00:00
m3o-actions
730ab1fa1e Commit from m3o/m3o action 2021-11-16 14:13:23 +00:00
m3o-actions
23dd049bf8 Commit from m3o/m3o action 2021-11-16 13:48:29 +00:00
m3o-actions
1947d31ee7 Commit from m3o/m3o action 2021-11-16 13:44:56 +00:00
m3o-actions
2b6719c9c6 Commit from m3o/m3o action 2021-11-16 13:40:43 +00:00
m3o-actions
00d34547f3 Commit from m3o/m3o action 2021-11-16 13:39:57 +00:00
m3o-actions
0f8436ce86 Commit from m3o/m3o action 2021-11-16 11:01:02 +00:00
m3o-actions
bb53f7cc48 Commit from m3o/m3o action 2021-11-16 10:46:34 +00:00
m3o-actions
9e5bed8e5a Commit from m3o/m3o action 2021-11-16 10:45:52 +00:00
m3o-actions
caac0f5355 Commit from m3o/m3o action 2021-11-16 10:36:24 +00:00
m3o-actions
5685e31a37 Commit from m3o/m3o action 2021-11-12 14:47:34 +00:00
m3o-actions
c43f57ce29 Commit from m3o/m3o action 2021-11-12 14:46:43 +00:00
m3o-actions
d9476960d4 Commit from m3o/m3o action 2021-11-11 23:36:13 +00:00
m3o-actions
3f583e059f Commit from m3o/m3o action 2021-11-11 23:27:10 +00:00
m3o-actions
bd1dcf3fed Commit from m3o/m3o action 2021-11-11 17:37:18 +00:00
m3o-actions
baff11e1d7 Commit from m3o/m3o action 2021-11-11 17:30:45 +00:00
m3o-actions
7c67ac14c2 Commit from m3o/m3o action 2021-11-11 17:12:21 +00:00
m3o-actions
fb8efda643 Commit from m3o/m3o action 2021-11-11 16:53:07 +00:00
m3o-actions
6fcd1d7028 Commit from m3o/m3o action 2021-11-11 16:30:48 +00:00
m3o-actions
02558a8f3f Commit from m3o/m3o action 2021-11-11 16:12:03 +00:00
m3o-actions
17f624b6a7 Commit from m3o/m3o action 2021-11-11 15:41:41 +00:00
m3o-actions
3f9d7cccf8 Commit from m3o/m3o action 2021-11-11 15:36:49 +00:00
m3o-actions
cb7f8b3403 Commit from m3o/m3o action 2021-11-11 15:27:20 +00:00
m3o-actions
072d96b1ca Commit from m3o/m3o action 2021-11-11 14:10:13 +00:00
m3o-actions
03a7225806 Commit from m3o/m3o action 2021-11-11 14:07:57 +00:00
m3o-actions
1083f55216 Commit from m3o/m3o action 2021-11-11 13:56:57 +00:00
m3o-actions
bd469033e2 Commit from m3o/m3o action 2021-11-11 13:46:49 +00:00
m3o-actions
b5f58efe8b Commit from m3o/m3o action 2021-11-11 12:45:56 +00:00
m3o-actions
018e87a593 Commit from m3o/m3o action 2021-11-11 12:43:36 +00:00
m3o-actions
07312f010e Commit from m3o/m3o action 2021-11-11 12:39:10 +00:00
m3o-actions
2321fde555 Commit from m3o/m3o action 2021-11-11 12:17:40 +00:00
m3o-actions
be676eff6c Commit from m3o/m3o action 2021-11-11 12:09:26 +00:00
m3o-actions
9dcc428a55 Commit from m3o/m3o action 2021-11-11 12:05:26 +00:00
m3o-actions
b6d8111005 Commit from m3o/m3o action 2021-11-11 12:02:51 +00:00
m3o-actions
1e54e284f6 Commit from m3o/m3o action 2021-11-11 11:59:54 +00:00
m3o-actions
d31fde4be4 Commit from m3o/m3o action 2021-11-11 11:51:18 +00:00
m3o-actions
d2adcc0208 Commit from m3o/m3o action 2021-11-11 11:19:50 +00:00
m3o-actions
956adcbced Commit from m3o/m3o action 2021-11-11 11:09:27 +00:00
m3o-actions
fab7b1892d Commit from m3o/m3o action 2021-11-11 11:02:04 +00:00
m3o-actions
7d037fe871 Commit from m3o/m3o action 2021-11-11 11:00:15 +00:00
m3o-actions
53a197a685 Commit from m3o/m3o action 2021-11-11 10:57:32 +00:00
m3o-actions
a7586670e6 Commit from m3o/m3o action 2021-11-11 10:56:43 +00:00
m3o-actions
2b5509db64 Commit from m3o/m3o action 2021-11-11 10:55:40 +00:00
m3o-actions
03a720c4d0 Commit from m3o/m3o action 2021-11-11 10:54:44 +00:00
m3o-actions
581945da61 Commit from m3o/m3o action 2021-11-11 10:26:25 +00:00
m3o-actions
d27ecddd94 Commit from m3o/m3o action 2021-11-11 10:13:24 +00:00
m3o-actions
034d9aa5ac Commit from m3o/m3o action 2021-11-10 23:58:27 +00:00
m3o-actions
328997c217 Commit from m3o/m3o action 2021-11-10 22:29:50 +00:00
m3o-actions
f87a55000e Commit from m3o/m3o action 2021-11-10 22:17:37 +00:00
m3o-actions
5ec5e88b61 Commit from m3o/m3o action 2021-11-10 16:26:02 +00:00
m3o-actions
d664134226 Commit from m3o/m3o action 2021-11-10 16:21:04 +00:00
m3o-actions
20bb0adb52 Commit from m3o/m3o action 2021-11-10 16:16:45 +00:00
m3o-actions
b32923c69c Commit from m3o/m3o action 2021-11-10 16:15:20 +00:00
m3o-actions
bb8552ac72 Commit from m3o/m3o action 2021-11-10 16:00:58 +00:00
m3o-actions
2e2264a045 Commit from m3o/m3o action 2021-11-10 15:58:48 +00:00
m3o-actions
8fbc04d515 Commit from m3o/m3o action 2021-11-10 15:50:32 +00:00
m3o-actions
6c77e113d7 Commit from m3o/m3o action 2021-11-10 13:54:12 +00:00
m3o-actions
be500e861e Commit from m3o/m3o action 2021-11-10 13:11:50 +00:00
m3o-actions
8217b63c9a Commit from m3o/m3o action 2021-11-10 13:06:03 +00:00
m3o-actions
5e75ed6f44 Commit from m3o/m3o action 2021-11-10 12:39:48 +00:00
m3o-actions
3ea4ec9b77 Commit from m3o/m3o action 2021-11-10 12:37:48 +00:00
m3o-actions
6715cd7575 Commit from m3o/m3o action 2021-11-10 12:31:16 +00:00
m3o-actions
36fa586811 Commit from m3o/m3o action 2021-11-10 12:19:48 +00:00
m3o-actions
f3c2a87ba8 Commit from m3o/m3o action 2021-11-10 11:57:00 +00:00
m3o-actions
48a07e015a Commit from m3o/m3o action 2021-11-10 11:32:49 +00:00
m3o-actions
2deeb0ca70 Commit from m3o/m3o action 2021-11-10 11:05:04 +00:00
m3o-actions
1305ec64f5 Commit from m3o/m3o action 2021-11-10 10:55:08 +00:00
Janos Dobronszki
120c1cfe31 Run idempotent exaples as tests in CI (#7) 2021-11-10 09:37:45 +00:00
m3o-actions
3c1c9769fb Commit from m3o/m3o action 2021-11-10 09:21:08 +00:00
m3o-actions
9404bd621a Commit from m3o/m3o action 2021-11-10 09:20:30 +00:00
m3o-actions
429d8543ba Commit from m3o/m3o action 2021-11-10 09:16:45 +00:00
m3o-actions
0515ac3485 Commit from m3o/m3o action 2021-11-10 09:03:04 +00:00
m3o-actions
36ebf2726c Commit from m3o/m3o action 2021-11-10 07:02:27 +00:00
m3o-actions
13eb3a674c Commit from m3o/m3o action 2021-11-10 06:57:47 +00:00
m3o-actions
b724299623 Commit from m3o/m3o action 2021-11-10 06:57:03 +00:00
m3o-actions
a2eea8e982 Commit from m3o/m3o action 2021-11-09 15:01:52 +00:00
m3o-actions
b36641e39e Commit from m3o/m3o action 2021-11-09 11:39:14 +00:00
m3o-actions
e9f001a53c Commit from m3o/m3o action 2021-11-09 11:10:41 +00:00
318 changed files with 5844 additions and 1222 deletions

View File

@@ -22,5 +22,10 @@ jobs:
env: env:
M3O_API_TOKEN: ${{ secrets.M3O_API_TOKEN }} M3O_API_TOKEN: ${{ secrets.M3O_API_TOKEN }}
run: | run: |
cd examples/helloworld/call/callTheHelloworldService # stream is temporarily excluded as it hangs forever because test does not close connection
go run main.go # @TODO remove "idempotent: true" from stream example
O=$(find . -name ".run" | grep -v stream | xargs -n1 dirname | xargs -n1 go run)
echo $O
if grep -q Detail "$O"; then
exit 1
fi

View File

@@ -4,6 +4,10 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Address interface {
LookupPostcode(*LookupPostcodeRequest) (*LookupPostcodeResponse, error)
}
func NewAddressService(token string) *AddressService { func NewAddressService(token string) *AddressService {
return &AddressService{ return &AddressService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{
@@ -35,13 +39,13 @@ type LookupPostcodeResponse struct {
type Record struct { type Record struct {
// building name // building name
BuildingName string `json:"buildingName"` BuildingName string `json:"building_name"`
// the county // the county
County string `json:"county"` County string `json:"county"`
// line one of address // line one of address
LineOne string `json:"lineOne"` LineOne string `json:"line_one"`
// line two of address // line two of address
LineTwo string `json:"lineTwo"` LineTwo string `json:"line_two"`
// dependent locality // dependent locality
Locality string `json:"locality"` Locality string `json:"locality"`
// organisation if present // organisation if present

View File

@@ -4,6 +4,10 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Answer interface {
Question(*QuestionRequest) (*QuestionResponse, error)
}
func NewAnswerService(token string) *AnswerService { func NewAnswerService(token string) *AnswerService {
return &AnswerService{ return &AnswerService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{

213
app/app.go Executable file
View File

@@ -0,0 +1,213 @@
package app
import (
"go.m3o.com/client"
)
type App interface {
Delete(*DeleteRequest) (*DeleteResponse, error)
List(*ListRequest) (*ListResponse, error)
Regions(*RegionsRequest) (*RegionsResponse, error)
Reserve(*ReserveRequest) (*ReserveResponse, error)
Resolve(*ResolveRequest) (*ResolveResponse, error)
Run(*RunRequest) (*RunResponse, error)
Status(*StatusRequest) (*StatusResponse, error)
Update(*UpdateRequest) (*UpdateResponse, error)
}
func NewAppService(token string) *AppService {
return &AppService{
client: client.NewClient(&client.Options{
Token: token,
}),
}
}
type AppService struct {
client *client.Client
}
// Delete an app
func (t *AppService) Delete(request *DeleteRequest) (*DeleteResponse, error) {
rsp := &DeleteResponse{}
return rsp, t.client.Call("app", "Delete", request, rsp)
}
// List all the apps
func (t *AppService) List(request *ListRequest) (*ListResponse, error) {
rsp := &ListResponse{}
return rsp, t.client.Call("app", "List", request, rsp)
}
// Return the support regions
func (t *AppService) Regions(request *RegionsRequest) (*RegionsResponse, error) {
rsp := &RegionsResponse{}
return rsp, t.client.Call("app", "Regions", request, rsp)
}
// Reserve apps beyond the free quota. Call Run after.
func (t *AppService) Reserve(request *ReserveRequest) (*ReserveResponse, error) {
rsp := &ReserveResponse{}
return rsp, t.client.Call("app", "Reserve", request, rsp)
}
// Resolve an app by id to its raw backend endpoint
func (t *AppService) Resolve(request *ResolveRequest) (*ResolveResponse, error) {
rsp := &ResolveResponse{}
return rsp, t.client.Call("app", "Resolve", request, rsp)
}
// Run an app from a source repo. Specify region etc.
func (t *AppService) Run(request *RunRequest) (*RunResponse, error) {
rsp := &RunResponse{}
return rsp, t.client.Call("app", "Run", request, rsp)
}
// Get the status of an app
func (t *AppService) Status(request *StatusRequest) (*StatusResponse, error) {
rsp := &StatusResponse{}
return rsp, t.client.Call("app", "Status", request, rsp)
}
// Update the app. The latest source code will be downloaded, built and deployed.
func (t *AppService) Update(request *UpdateRequest) (*UpdateResponse, error) {
rsp := &UpdateResponse{}
return rsp, t.client.Call("app", "Update", request, rsp)
}
type DeleteRequest struct {
// name of the app
Name string `json:"name"`
}
type DeleteResponse struct {
}
type ListRequest struct {
}
type ListResponse struct {
// all the apps
Services []Service `json:"services"`
}
type RegionsRequest struct {
}
type RegionsResponse struct {
Regions []string `json:"regions"`
}
type Reservation struct {
// time of reservation
Created string `json:"created"`
// time reservation expires
Expires string `json:"expires"`
// name of the app
Name string `json:"name"`
// owner id
Owner string `json:"owner"`
// associated token
Token string `json:"token"`
}
type ReserveRequest struct {
// name of your app e.g helloworld
Name string `json:"name"`
}
type ReserveResponse struct {
// The app reservation
Reservation *Reservation `json:"reservation"`
}
type ResolveRequest struct {
// the service id
Id string `json:"id"`
}
type ResolveResponse struct {
// the end provider url
Url string `json:"url"`
}
type RunRequest struct {
// branch. defaults to master
Branch string `json:"branch"`
// associatede env vars to pass in
EnvVars map[string]string `json:"env_vars"`
// name of the app
Name string `json:"name"`
// port to run on
Port int32 `json:"port"`
// region to run in
Region string `json:"region"`
// source repository
Repo string `json:"repo"`
}
type RunResponse struct {
// The running service
Service *Service `json:"service"`
}
type Service struct {
// branch of code
Branch string `json:"branch"`
// time of creation
Created string `json:"created"`
// custom domains
CustomDomains string `json:"custom_domains"`
// associated env vars
EnvVars map[string]string `json:"env_vars"`
// unique id
Id string `json:"id"`
// name of the app
Name string `json:"name"`
// port running on
Port int32 `json:"port"`
// region running in
Region string `json:"region"`
// source repository
Repo string `json:"repo"`
// status of the app
Status string `json:"status"`
// last updated
Updated string `json:"updated"`
// app url
Url string `json:"url"`
}
type StatusRequest struct {
// name of the app
Name string `json:"name"`
}
type StatusResponse struct {
// running service info
Service *Service `json:"service"`
}
type UpdateRequest struct {
// name of the app
Name string `json:"name"`
}
type UpdateResponse struct {
}

50
avatar/avatar.go Executable file
View File

@@ -0,0 +1,50 @@
package avatar
import (
"go.m3o.com/client"
)
type Avatar interface {
Generate(*GenerateRequest) (*GenerateResponse, error)
}
func NewAvatarService(token string) *AvatarService {
return &AvatarService{
client: client.NewClient(&client.Options{
Token: token,
}),
}
}
type AvatarService struct {
client *client.Client
}
//
func (t *AvatarService) Generate(request *GenerateRequest) (*GenerateResponse, error) {
rsp := &GenerateResponse{}
return rsp, t.client.Call("avatar", "Generate", request, rsp)
}
type GenerateRequest struct {
// encode format of avatar image, `png` or `jpeg`, default is `jpeg`
Format string `json:"format"`
// avatar's gender, `male` or `female`, default is `male`
Gender string `json:"gender"`
// if upload to m3o CDN, default is `false`
// if update = true, then it'll return the CDN url
Upload bool `json:"upload"`
// avatar's username, unique username will generates the unique avatar;
// if username == "", will generate a random avatar in every request
// if upload == true, username will be used as CDN filename rather than a random uuid string
Username string `json:"username"`
}
type GenerateResponse struct {
// base64encode string of the avatar image
Base64 string `json:"base64"`
// Micro's CDN url of the avatar image
Url string `json:"url"`
}

24
cache/cache.go vendored
View File

@@ -4,6 +4,15 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Cache interface {
Decrement(*DecrementRequest) (*DecrementResponse, error)
Delete(*DeleteRequest) (*DeleteResponse, error)
Get(*GetRequest) (*GetResponse, error)
Increment(*IncrementRequest) (*IncrementResponse, error)
ListKeys(*ListKeysRequest) (*ListKeysResponse, error)
Set(*SetRequest) (*SetResponse, error)
}
func NewCacheService(token string) *CacheService { func NewCacheService(token string) *CacheService {
return &CacheService{ return &CacheService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{
@@ -48,6 +57,14 @@ func (t *CacheService) Increment(request *IncrementRequest) (*IncrementResponse,
} }
// List all the available keys
func (t *CacheService) ListKeys(request *ListKeysRequest) (*ListKeysResponse, error) {
rsp := &ListKeysResponse{}
return rsp, t.client.Call("cache", "ListKeys", request, rsp)
}
// Set an item in the cache. Overwrites any existing value already set. // Set an item in the cache. Overwrites any existing value already set.
func (t *CacheService) Set(request *SetRequest) (*SetResponse, error) { func (t *CacheService) Set(request *SetRequest) (*SetResponse, error) {
@@ -108,6 +125,13 @@ type IncrementResponse struct {
Value int64 `json:"value,string"` Value int64 `json:"value,string"`
} }
type ListKeysRequest struct {
}
type ListKeysResponse struct {
Keys []string `json:"keys"`
}
type SetRequest struct { type SetRequest struct {
// The key to update // The key to update
Key string `json:"key"` Key string `json:"key"`

52
carbon/carbon.go Executable file
View File

@@ -0,0 +1,52 @@
package carbon
import (
"go.m3o.com/client"
)
type Carbon interface {
Offset(*OffsetRequest) (*OffsetResponse, error)
}
func NewCarbonService(token string) *CarbonService {
return &CarbonService{
client: client.NewClient(&client.Options{
Token: token,
}),
}
}
type CarbonService struct {
client *client.Client
}
// Purchase 1KG (0.001 tonne) of carbon offsets in a single request
func (t *CarbonService) Offset(request *OffsetRequest) (*OffsetResponse, error) {
rsp := &OffsetResponse{}
return rsp, t.client.Call("carbon", "Offset", request, rsp)
}
type OffsetRequest struct {
}
type OffsetResponse struct {
// the metric used e.g KG or Tonnes
Metric string `json:"metric"`
// projects it was allocated to
Projects []Project `json:"projects"`
// number of tonnes
Tonnes float64 `json:"tonnes"`
// number of units purchased
Units int32 `json:"units"`
}
type Project struct {
// name of the project
Name string `json:"name"`
// percentage that went to this
Percentage float64 `json:"percentage"`
// amount in tonnes
Tonnes float64 `json:"tonnes"`
}

View File

@@ -6,6 +6,10 @@ import (
) )
func TestBasicCall(t *testing.T) { func TestBasicCall(t *testing.T) {
if v := os.Getenv("IN_TRAVIS"); v == "yes" {
return
}
response := map[string]interface{}{} response := map[string]interface{}{}
if err := NewClient(&Options{ if err := NewClient(&Options{
Token: os.Getenv("TOKEN"), Token: os.Getenv("TOKEN"),

200
contact/contact.go Executable file
View File

@@ -0,0 +1,200 @@
package contact
import (
"go.m3o.com/client"
)
type Contact interface {
Create(*CreateRequest) (*CreateResponse, error)
Delete(*DeleteRequest) (*DeleteResponse, error)
List(*ListRequest) (*ListResponse, error)
Read(*ReadRequest) (*ReadResponse, error)
Update(*UpdateRequest) (*UpdateResponse, error)
}
func NewContactService(token string) *ContactService {
return &ContactService{
client: client.NewClient(&client.Options{
Token: token,
}),
}
}
type ContactService struct {
client *client.Client
}
//
func (t *ContactService) Create(request *CreateRequest) (*CreateResponse, error) {
rsp := &CreateResponse{}
return rsp, t.client.Call("contact", "Create", request, rsp)
}
//
func (t *ContactService) Delete(request *DeleteRequest) (*DeleteResponse, error) {
rsp := &DeleteResponse{}
return rsp, t.client.Call("contact", "Delete", request, rsp)
}
//
func (t *ContactService) List(request *ListRequest) (*ListResponse, error) {
rsp := &ListResponse{}
return rsp, t.client.Call("contact", "List", request, rsp)
}
//
func (t *ContactService) Read(request *ReadRequest) (*ReadResponse, error) {
rsp := &ReadResponse{}
return rsp, t.client.Call("contact", "Read", request, rsp)
}
//
func (t *ContactService) Update(request *UpdateRequest) (*UpdateResponse, error) {
rsp := &UpdateResponse{}
return rsp, t.client.Call("contact", "Update", request, rsp)
}
type Address struct {
// the label of the address
Label string `json:"label"`
// the address location
Location string `json:"location"`
}
type ContactInfo struct {
// the address
Addresses []Address `json:"addresses"`
// the birthday
Birthday string `json:"birthday"`
// create date string in RFC3339
CreatedAt string `json:"created_at"`
// the emails
Emails []Email `json:"emails"`
// contact id
Id string `json:"id"`
// the contact links
Links []Link `json:"links"`
// the contact name
Name string `json:"name"`
// note of the contact
Note string `json:"note"`
// the phone numbers
Phones []Phone `json:"phones"`
// the social media username
SocialMedias *SocialMedia `json:"social_medias"`
// update date string in RFC3339
UpdatedAt string `json:"updated_at"`
}
type CreateRequest struct {
// optional, location
Addresses []Address `json:"addresses"`
// optional, birthday
Birthday string `json:"birthday"`
// optional, emails
Emails []Email `json:"emails"`
// optional, links
Links []Link `json:"links"`
// required, the name of the contact
Name string `json:"name"`
// optional, note of the contact
Note string `json:"note"`
// optional, phone numbers
Phones []Phone `json:"phones"`
// optional, social media
SocialMedias *SocialMedia `json:"social_medias"`
}
type CreateResponse struct {
Contact *ContactInfo `json:"contact"`
}
type DeleteRequest struct {
// the id of the contact
Id string `json:"id"`
}
type DeleteResponse struct {
}
type Email struct {
// the email address
Address string `json:"address"`
// the label of the email
Label string `json:"label"`
}
type Link struct {
// the label of the link
Label string `json:"label"`
// the url of the contact
Url string `json:"url"`
}
type ListRequest struct {
// optional, default is 30
Limit int32 `json:"limit"`
// optional
Offset int32 `json:"offset"`
}
type ListResponse struct {
Contacts []ContactInfo `json:"contacts"`
}
type Phone struct {
// the label of the phone number
Label string `json:"label"`
// phone number
Number string `json:"number"`
}
type ReadRequest struct {
Id string `json:"id"`
}
type ReadResponse struct {
Contact *ContactInfo `json:"contact"`
}
type SocialMedia struct {
// the label of the social
Label string `json:"label"`
// the username of social media
Username string `json:"username"`
}
type UpdateRequest struct {
// optional, addresses
Addresses []Address `json:"addresses"`
// optional, birthday
Birthday string `json:"birthday"`
// optional, emails
Emails []Email `json:"emails"`
// required, the contact id
Id string `json:"id"`
// optional, links
Links []Link `json:"links"`
// required, the name
Name string `json:"name"`
// optional, note
Note string `json:"note"`
// optional, phone number
Phones []Phone `json:"phones"`
// optional, social media
SocialMedias *SocialMedia `json:"social_medias"`
}
type UpdateResponse struct {
Contact *ContactInfo `json:"contact"`
}

View File

@@ -4,6 +4,13 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Crypto interface {
History(*HistoryRequest) (*HistoryResponse, error)
News(*NewsRequest) (*NewsResponse, error)
Price(*PriceRequest) (*PriceResponse, error)
Quote(*QuoteRequest) (*QuoteResponse, error)
}
func NewCryptoService(token string) *CryptoService { func NewCryptoService(token string) *CryptoService {
return &CryptoService{ return &CryptoService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{
@@ -114,13 +121,13 @@ type QuoteRequest struct {
type QuoteResponse struct { type QuoteResponse struct {
// the asking price // the asking price
AskPrice float64 `json:"askPrice"` AskPrice float64 `json:"ask_price"`
// the ask size // the ask size
AskSize float64 `json:"askSize"` AskSize float64 `json:"ask_size"`
// the bidding price // the bidding price
BidPrice float64 `json:"bidPrice"` BidPrice float64 `json:"bid_price"`
// the bid size // the bid size
BidSize float64 `json:"bidSize"` BidSize float64 `json:"bid_size"`
// the crypto symbol // the crypto symbol
Symbol string `json:"symbol"` Symbol string `json:"symbol"`
// the UTC timestamp of the quote // the UTC timestamp of the quote

View File

@@ -4,6 +4,13 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Currency interface {
Codes(*CodesRequest) (*CodesResponse, error)
Convert(*ConvertRequest) (*ConvertResponse, error)
History(*HistoryRequest) (*HistoryResponse, error)
Rates(*RatesRequest) (*RatesResponse, error)
}
func NewCurrencyService(token string) *CurrencyService { func NewCurrencyService(token string) *CurrencyService {
return &CurrencyService{ return &CurrencyService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{

View File

@@ -4,6 +4,18 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Db interface {
Count(*CountRequest) (*CountResponse, error)
Create(*CreateRequest) (*CreateResponse, error)
Delete(*DeleteRequest) (*DeleteResponse, error)
DropTable(*DropTableRequest) (*DropTableResponse, error)
ListTables(*ListTablesRequest) (*ListTablesResponse, error)
Read(*ReadRequest) (*ReadResponse, error)
RenameTable(*RenameTableRequest) (*RenameTableResponse, error)
Truncate(*TruncateRequest) (*TruncateResponse, error)
Update(*UpdateRequest) (*UpdateResponse, error)
}
func NewDbService(token string) *DbService { func NewDbService(token string) *DbService {
return &DbService{ return &DbService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{
@@ -40,6 +52,22 @@ func (t *DbService) Delete(request *DeleteRequest) (*DeleteResponse, error) {
} }
// Drop a table in the DB
func (t *DbService) DropTable(request *DropTableRequest) (*DropTableResponse, error) {
rsp := &DropTableResponse{}
return rsp, t.client.Call("db", "DropTable", request, rsp)
}
// List tables in the DB
func (t *DbService) ListTables(request *ListTablesRequest) (*ListTablesResponse, error) {
rsp := &ListTablesResponse{}
return rsp, t.client.Call("db", "ListTables", request, rsp)
}
// Read data from a table. Lookup can be by ID or via querying any field in the record. // Read data from a table. Lookup can be by ID or via querying any field in the record.
func (t *DbService) Read(request *ReadRequest) (*ReadResponse, error) { func (t *DbService) Read(request *ReadRequest) (*ReadResponse, error) {
@@ -48,6 +76,14 @@ func (t *DbService) Read(request *ReadRequest) (*ReadResponse, error) {
} }
// Rename a table
func (t *DbService) RenameTable(request *RenameTableRequest) (*RenameTableResponse, error) {
rsp := &RenameTableResponse{}
return rsp, t.client.Call("db", "RenameTable", request, rsp)
}
// Truncate the records in a table // Truncate the records in a table
func (t *DbService) Truncate(request *TruncateRequest) (*TruncateResponse, error) { func (t *DbService) Truncate(request *TruncateRequest) (*TruncateResponse, error) {
@@ -75,6 +111,8 @@ type CountResponse struct {
} }
type CreateRequest struct { type CreateRequest struct {
// optional record id to use
Id string `json:"id"`
// JSON encoded record or records (can be array or object) // JSON encoded record or records (can be array or object)
Record map[string]interface{} `json:"record"` Record map[string]interface{} `json:"record"`
// Optional table name. Defaults to 'default' // Optional table name. Defaults to 'default'
@@ -96,6 +134,21 @@ type DeleteRequest struct {
type DeleteResponse struct { type DeleteResponse struct {
} }
type DropTableRequest struct {
Table string `json:"table"`
}
type DropTableResponse struct {
}
type ListTablesRequest struct {
}
type ListTablesResponse struct {
// list of tables
Tables []string `json:"tables"`
}
type ReadRequest struct { type ReadRequest struct {
// Read by id. Equivalent to 'id == "your-id"' // Read by id. Equivalent to 'id == "your-id"'
Id string `json:"id"` Id string `json:"id"`
@@ -122,14 +175,21 @@ type ReadResponse struct {
Records []map[string]interface{} `json:"records"` Records []map[string]interface{} `json:"records"`
} }
type RenameTableRequest struct {
// current table name
From string `json:"from"`
// new table name
To string `json:"to"`
}
type RenameTableResponse struct {
}
type TruncateRequest struct { type TruncateRequest struct {
// Optional table name. Defaults to 'default'
Table string `json:"table"` Table string `json:"table"`
} }
type TruncateResponse struct { type TruncateResponse struct {
// The table truncated
Table string `json:"table"`
} }
type UpdateRequest struct { type UpdateRequest struct {

View File

@@ -4,6 +4,12 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Email interface {
Parse(*ParseRequest) (*ParseResponse, error)
Send(*SendRequest) (*SendResponse, error)
Validate(*ValidateRequest) (*ValidateResponse, error)
}
func NewEmailService(token string) *EmailService { func NewEmailService(token string) *EmailService {
return &EmailService{ return &EmailService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{
@@ -16,6 +22,14 @@ type EmailService struct {
client *client.Client client *client.Client
} }
// Parse an RFC5322 address e.g "Joe Blogs <joe@example.com>"
func (t *EmailService) Parse(request *ParseRequest) (*ParseResponse, error) {
rsp := &ParseResponse{}
return rsp, t.client.Call("email", "Parse", request, rsp)
}
// Send an email by passing in from, to, subject, and a text or html body // Send an email by passing in from, to, subject, and a text or html body
func (t *EmailService) Send(request *SendRequest) (*SendResponse, error) { func (t *EmailService) Send(request *SendRequest) (*SendResponse, error) {
@@ -24,20 +38,48 @@ func (t *EmailService) Send(request *SendRequest) (*SendResponse, error) {
} }
// Validate an email address format
func (t *EmailService) Validate(request *ValidateRequest) (*ValidateResponse, error) {
rsp := &ValidateResponse{}
return rsp, t.client.Call("email", "Validate", request, rsp)
}
type ParseRequest struct {
// The address to parse. Can be of the format "Joe Blogs <joe@example.com>" or "joe@example.com"
Address string `json:"address"`
}
type ParseResponse struct {
// the email address
Address string `json:"address"`
// associated name e.g Joe Blogs
Name string `json:"name"`
}
type SendRequest struct { type SendRequest struct {
// the display name of the sender // the display name of the sender
From string `json:"from"` From string `json:"from"`
// the html body // the html body
HtmlBody string `json:"htmlBody"` HtmlBody string `json:"html_body"`
// an optional reply to email address // an optional reply to email address
ReplyTo string `json:"replyTo"` ReplyTo string `json:"reply_to"`
// the email subject // the email subject
Subject string `json:"subject"` Subject string `json:"subject"`
// the text body // the text body
TextBody string `json:"textBody"` TextBody string `json:"text_body"`
// the email address of the recipient // the email address of the recipient
To string `json:"to"` To string `json:"to"`
} }
type SendResponse struct { type SendResponse struct {
} }
type ValidateRequest struct {
Address string `json:"address"`
}
type ValidateResponse struct {
IsValid bool `json:"is_valid"`
}

View File

@@ -4,6 +4,13 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Emoji interface {
Find(*FindRequest) (*FindResponse, error)
Flag(*FlagRequest) (*FlagResponse, error)
Print(*PrintRequest) (*PrintResponse, error)
Send(*SendRequest) (*SendResponse, error)
}
func NewEmojiService(token string) *EmojiService { func NewEmojiService(token string) *EmojiService {
return &EmojiService{ return &EmojiService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{

View File

@@ -4,6 +4,11 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Evchargers interface {
ReferenceData(*ReferenceDataRequest) (*ReferenceDataResponse, error)
Search(*SearchRequest) (*SearchResponse, error)
}
func NewEvchargersService(token string) *EvchargersService { func NewEvchargersService(token string) *EvchargersService {
return &EvchargersService{ return &EvchargersService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{
@@ -34,50 +39,50 @@ func (t *EvchargersService) Search(request *SearchRequest) (*SearchResponse, err
type Address struct { type Address struct {
// Any comments about how to access the charger // Any comments about how to access the charger
AccessComments string `json:"accessComments"` AccessComments string `json:"access_comments"`
AddressLine1 string `json:"addressLine1"` AddressLine1 string `json:"address_line_1"`
AddressLine2 string `json:"addressLine2"` AddressLine2 string `json:"address_line_2"`
Country *Country `json:"country"` Country *Country `json:"country"`
CountryId string `json:"countryId"` CountryId string `json:"country_id"`
LatLng string `json:"latLng"` LatLng string `json:"lat_lng"`
Location *Coordinates `json:"location"` Location *Coordinates `json:"location"`
Postcode string `json:"postcode"` Postcode string `json:"postcode"`
StateOrProvince string `json:"stateOrProvince"` StateOrProvince string `json:"state_or_province"`
Title string `json:"title"` Title string `json:"title"`
Town string `json:"town"` Town string `json:"town"`
} }
type BoundingBox struct { type BoundingBox struct {
BottomLeft *Coordinates `json:"bottomLeft"` BottomLeft *Coordinates `json:"bottom_left"`
TopRight *Coordinates `json:"topRight"` TopRight *Coordinates `json:"top_right"`
} }
type ChargerType struct { type ChargerType struct {
Comments string `json:"comments"` Comments string `json:"comments"`
Id string `json:"id"` Id string `json:"id"`
// Is this 40KW+ // Is this 40KW+
IsFastChargeCapable bool `json:"isFastChargeCapable"` IsFastChargeCapable bool `json:"is_fast_charge_capable"`
Title string `json:"title"` Title string `json:"title"`
} }
type CheckinStatusType struct { type CheckinStatusType struct {
Id string `json:"id"` Id string `json:"id"`
IsAutomated bool `json:"isAutomated"` IsAutomated bool `json:"is_automated"`
IsPositive bool `json:"isPositive"` IsPositive bool `json:"is_positive"`
Title string `json:"title"` Title string `json:"title"`
} }
type Connection struct { type Connection struct {
// The amps offered // The amps offered
Amps float64 `json:"amps"` Amps float64 `json:"amps"`
ConnectionType *ConnectionType `json:"connectionType"` ConnectionType *ConnectionType `json:"connection_type"`
// The ID of the connection type // The ID of the connection type
ConnectionTypeId string `json:"connectionTypeId"` ConnectionTypeId string `json:"connection_type_id"`
// The current // The current
Current string `json:"current"` Current string `json:"current"`
Level *ChargerType `json:"level"` Level *ChargerType `json:"level"`
// The level of charging power available // The level of charging power available
LevelId string `json:"levelId"` LevelId string `json:"level_id"`
// The power in KW // The power in KW
Power float64 `json:"power"` Power float64 `json:"power"`
Reference string `json:"reference"` Reference string `json:"reference"`
@@ -86,10 +91,10 @@ type Connection struct {
} }
type ConnectionType struct { type ConnectionType struct {
FormalName string `json:"formalName"` FormalName string `json:"formal_name"`
Id string `json:"id"` Id string `json:"id"`
IsDiscontinued bool `json:"isDiscontinued"` IsDiscontinued bool `json:"is_discontinued"`
IsObsolete bool `json:"isObsolete"` IsObsolete bool `json:"is_obsolete"`
Title string `json:"title"` Title string `json:"title"`
} }
@@ -99,9 +104,9 @@ type Coordinates struct {
} }
type Country struct { type Country struct {
ContinentCode string `json:"continentCode"` ContinentCode string `json:"continent_code"`
Id string `json:"id"` Id string `json:"id"`
IsoCode string `json:"isoCode"` IsoCode string `json:"iso_code"`
Title string `json:"title"` Title string `json:"title"`
} }
@@ -113,7 +118,7 @@ type CurrentType struct {
type DataProvider struct { type DataProvider struct {
Comments string `json:"comments"` Comments string `json:"comments"`
DataProviderStatusType *DataProviderStatusType `json:"dataProviderStatusType"` DataProviderStatusType *DataProviderStatusType `json:"data_provider_status_type"`
Id string `json:"id"` Id string `json:"id"`
// How is this data licensed // How is this data licensed
License string `json:"license"` License string `json:"license"`
@@ -123,19 +128,19 @@ type DataProvider struct {
type DataProviderStatusType struct { type DataProviderStatusType struct {
Id string `json:"id"` Id string `json:"id"`
IsProviderEnabled bool `json:"isProviderEnabled"` IsProviderEnabled bool `json:"is_provider_enabled"`
Title string `json:"title"` Title string `json:"title"`
} }
type Operator struct { type Operator struct {
Comments string `json:"comments"` Comments string `json:"comments"`
ContactEmail string `json:"contactEmail"` ContactEmail string `json:"contact_email"`
FaultReportEmail string `json:"faultReportEmail"` FaultReportEmail string `json:"fault_report_email"`
Id string `json:"id"` Id string `json:"id"`
// Is this operator a private individual vs a company // Is this operator a private individual vs a company
IsPrivateIndividual bool `json:"isPrivateIndividual"` IsPrivateIndividual bool `json:"is_private_individual"`
PhonePrimary string `json:"phonePrimary"` PhonePrimary string `json:"phone_primary"`
PhoneSecondary string `json:"phoneSecondary"` PhoneSecondary string `json:"phone_secondary"`
Title string `json:"title"` Title string `json:"title"`
Website string `json:"website"` Website string `json:"website"`
} }
@@ -148,19 +153,19 @@ type Poi struct {
// The cost of charging // The cost of charging
Cost string `json:"cost"` Cost string `json:"cost"`
// The ID of the data provider // The ID of the data provider
DataProviderId string `json:"dataProviderId"` DataProviderId string `json:"data_provider_id"`
// The ID of the charger // The ID of the charger
Id string `json:"id"` Id string `json:"id"`
// The number of charging points // The number of charging points
NumPoints int64 `json:"numPoints,string"` NumPoints int64 `json:"num_points,string"`
// The operator // The operator
Operator *Operator `json:"operator"` Operator *Operator `json:"operator"`
// The ID of the operator of the charger // The ID of the operator of the charger
OperatorId string `json:"operatorId"` OperatorId string `json:"operator_id"`
// The type of usage // The type of usage
UsageType *UsageType `json:"usageType"` UsageType *UsageType `json:"usage_type"`
// The type of usage for this charger point (is it public, membership required, etc) // The type of usage for this charger point (is it public, membership required, etc)
UsageTypeId string `json:"usageTypeId"` UsageTypeId string `json:"usage_type_id"`
} }
type ReferenceDataRequest struct { type ReferenceDataRequest struct {
@@ -168,36 +173,36 @@ type ReferenceDataRequest struct {
type ReferenceDataResponse struct { type ReferenceDataResponse struct {
// The types of charger // The types of charger
ChargerTypes *ChargerType `json:"chargerTypes"` ChargerTypes *ChargerType `json:"charger_types"`
// The types of checkin status // The types of checkin status
CheckinStatusTypes *CheckinStatusType `json:"checkinStatusTypes"` CheckinStatusTypes *CheckinStatusType `json:"checkin_status_types"`
// The types of connection // The types of connection
ConnectionTypes *ConnectionType `json:"connectionTypes"` ConnectionTypes *ConnectionType `json:"connection_types"`
// The countries // The countries
Countries []Country `json:"countries"` Countries []Country `json:"countries"`
// The types of current // The types of current
CurrentTypes *CurrentType `json:"currentTypes"` CurrentTypes *CurrentType `json:"current_types"`
// The providers of the charger data // The providers of the charger data
DataProviders *DataProvider `json:"dataProviders"` DataProviders *DataProvider `json:"data_providers"`
// The companies operating the chargers // The companies operating the chargers
Operators []Operator `json:"operators"` Operators []Operator `json:"operators"`
// The status of the charger // The status of the charger
StatusTypes *StatusType `json:"statusTypes"` StatusTypes *StatusType `json:"status_types"`
// The status of a submission // The status of a submission
SubmissionStatusTypes *SubmissionStatusType `json:"submissionStatusTypes"` SubmissionStatusTypes *SubmissionStatusType `json:"submission_status_types"`
// The different types of usage // The different types of usage
UsageTypes *UsageType `json:"usageTypes"` UsageTypes *UsageType `json:"usage_types"`
// The types of user comment // The types of user comment
UserCommentTypes *UserCommentType `json:"userCommentTypes"` UserCommentTypes *UserCommentType `json:"user_comment_types"`
} }
type SearchRequest struct { type SearchRequest struct {
// Bounding box to search within (top left and bottom right coordinates) // Bounding box to search within (top left and bottom right coordinates)
Box *BoundingBox `json:"box"` Box *BoundingBox `json:"box"`
// IDs of the connection type // IDs of the connection type
ConnectionTypes string `json:"connectionTypes"` ConnectionTypes string `json:"connection_types"`
// Country ID // Country ID
CountryId string `json:"countryId"` CountryId string `json:"country_id"`
// Search distance from point in metres, defaults to 5000m // Search distance from point in metres, defaults to 5000m
Distance int64 `json:"distance,string"` Distance int64 `json:"distance,string"`
// Supported charging levels // Supported charging levels
@@ -205,13 +210,13 @@ type SearchRequest struct {
// Coordinates from which to begin search // Coordinates from which to begin search
Location *Coordinates `json:"location"` Location *Coordinates `json:"location"`
// Maximum number of results to return, defaults to 100 // Maximum number of results to return, defaults to 100
MaxResults int64 `json:"maxResults,string"` MaxResults int64 `json:"max_results,string"`
// Minimum power in KW. Note: data not available for many chargers // Minimum power in KW. Note: data not available for many chargers
MinPower int64 `json:"minPower,string"` MinPower int64 `json:"min_power,string"`
// IDs of the the EV charger operator // IDs of the the EV charger operator
Operators []string `json:"operators"` Operators []string `json:"operators"`
// Usage of the charge point (is it public, membership required, etc) // Usage of the charge point (is it public, membership required, etc)
UsageTypes string `json:"usageTypes"` UsageTypes string `json:"usage_types"`
} }
type SearchResponse struct { type SearchResponse struct {
@@ -220,21 +225,21 @@ type SearchResponse struct {
type StatusType struct { type StatusType struct {
Id string `json:"id"` Id string `json:"id"`
IsOperational bool `json:"isOperational"` IsOperational bool `json:"is_operational"`
Title string `json:"title"` Title string `json:"title"`
} }
type SubmissionStatusType struct { type SubmissionStatusType struct {
Id string `json:"id"` Id string `json:"id"`
IsLive bool `json:"isLive"` IsLive bool `json:"is_live"`
Title string `json:"title"` Title string `json:"title"`
} }
type UsageType struct { type UsageType struct {
Id string `json:"id"` Id string `json:"id"`
IsAccessKeyRequired bool `json:"isAccessKeyRequired"` IsAccessKeyRequired bool `json:"is_access_key_required"`
IsMembershipRequired bool `json:"isMembershipRequired"` IsMembershipRequired bool `json:"is_membership_required"`
IsPayAtLocation bool `json:"isPayAtLocation"` IsPayAtLocation bool `json:"is_pay_at_location"`
Title string `json:"title"` Title string `json:"title"`
} }

View File

@@ -4,6 +4,12 @@ import (
"go.m3o.com/client" "go.m3o.com/client"
) )
type Event interface {
Consume(*ConsumeRequest) (*ConsumeResponseStream, error)
Publish(*PublishRequest) (*PublishResponse, error)
Read(*ReadRequest) (*ReadResponse, error)
}
func NewEventService(token string) *EventService { func NewEventService(token string) *EventService {
return &EventService{ return &EventService{
client: client.NewClient(&client.Options{ client: client.NewClient(&client.Options{

View File

@@ -1,6 +1,6 @@
# Address # Address
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Address/api](https://m3o.com/Address/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/address/api](https://m3o.com/address/api).
Endpoints: Endpoints:

View File

@@ -14,5 +14,4 @@ func main() {
Postcode: "SW1A 2AA", Postcode: "SW1A 2AA",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,6 +1,6 @@
# Answer # Answer
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Answer/api](https://m3o.com/Answer/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/answer/api](https://m3o.com/answer/api).
Endpoints: Endpoints:

View File

@@ -14,5 +14,4 @@ func main() {
Query: "microsoft", Query: "microsoft",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

232
examples/app/README.md Executable file
View File

@@ -0,0 +1,232 @@
# App
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/app/api](https://m3o.com/app/api).
Endpoints:
## Delete
Delete an app
[https://m3o.com/app/api#Delete](https://m3o.com/app/api#Delete)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Delete an app
func DeleteAnApp() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Delete(&app.DeleteRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}
```
## Reserve
Reserve apps beyond the free quota. Call Run after.
[https://m3o.com/app/api#Reserve](https://m3o.com/app/api#Reserve)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Reserve apps beyond the free quota. Call Run after.
func ReserveAppName() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Reserve(&app.ReserveRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}
```
## List
List all the apps
[https://m3o.com/app/api#List](https://m3o.com/app/api#List)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// List all the apps
func ListTheApps() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.List(&app.ListRequest{
})
fmt.Println(rsp, err)
}
```
## Run
Run an app from a source repo. Specify region etc.
[https://m3o.com/app/api#Run](https://m3o.com/app/api#Run)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Run an app from a source repo. Specify region etc.
func RunAnApp() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Run(&app.RunRequest{
Branch: "master",
Name: "helloworld",
Port: 8080,
Region: "europe-west1",
Repo: "github.com/asim/helloworld",
})
fmt.Println(rsp, err)
}
```
## Regions
Return the support regions
[https://m3o.com/app/api#Regions](https://m3o.com/app/api#Regions)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Return the support regions
func ListRegions() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Regions(&app.RegionsRequest{
})
fmt.Println(rsp, err)
}
```
## Status
Get the status of an app
[https://m3o.com/app/api#Status](https://m3o.com/app/api#Status)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Get the status of an app
func GetTheStatusOfAnApp() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Status(&app.StatusRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}
```
## Resolve
Resolve an app by id to its raw backend endpoint
[https://m3o.com/app/api#Resolve](https://m3o.com/app/api#Resolve)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Resolve an app by id to its raw backend endpoint
func ResolveAppById() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Resolve(&app.ResolveRequest{
Id: "helloworld",
})
fmt.Println(rsp, err)
}
```
## Update
Update the app. The latest source code will be downloaded, built and deployed.
[https://m3o.com/app/api#Update](https://m3o.com/app/api#Update)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Update the app. The latest source code will be downloaded, built and deployed.
func UpdateAnApp() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Update(&app.UpdateRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}
```

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Delete an app
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Delete(&app.DeleteRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// List all the apps
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.List(&app.ListRequest{})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Return the support regions
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Regions(&app.RegionsRequest{})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Reserve apps beyond the free quota. Call Run after.
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Reserve(&app.ReserveRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Resolve an app by id to its raw backend endpoint
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Resolve(&app.ResolveRequest{
Id: "helloworld",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,21 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Run an app from a source repo. Specify region etc.
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Run(&app.RunRequest{
Branch: "master",
Name: "helloworld",
Port: 8080,
Region: "europe-west1",
Repo: "github.com/asim/helloworld",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Get the status of an app
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Status(&app.StatusRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Update the app. The latest source code will be downloaded, built and deployed.
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Update(&app.UpdateRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}

68
examples/avatar/README.md Executable file
View File

@@ -0,0 +1,68 @@
# Avatar
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/avatar/api](https://m3o.com/avatar/api).
Endpoints:
## Generate
[https://m3o.com/avatar/api#Generate](https://m3o.com/avatar/api#Generate)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/avatar"
)
//
func GenerateAvatarAndReturnBase64stringOfTheAvatar() {
avatarService := avatar.NewAvatarService(os.Getenv("M3O_API_TOKEN"))
rsp, err := avatarService.Generate(&avatar.GenerateRequest{
Format: "jpeg",
Gender: "female",
Upload: false,
Username: "",
})
fmt.Println(rsp, err)
}
```
## Generate
[https://m3o.com/avatar/api#Generate](https://m3o.com/avatar/api#Generate)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/avatar"
)
//
func GenerateAnAvatarAndUploadTheAvatarToMicrosCdn() {
avatarService := avatar.NewAvatarService(os.Getenv("M3O_API_TOKEN"))
rsp, err := avatarService.Generate(&avatar.GenerateRequest{
Format: "png",
Gender: "female",
Upload: true,
Username: "",
})
fmt.Println(rsp, err)
}
```

View File

@@ -0,0 +1,20 @@
package main
import (
"fmt"
"os"
"go.m3o.com/avatar"
)
//
func main() {
avatarService := avatar.NewAvatarService(os.Getenv("M3O_API_TOKEN"))
rsp, err := avatarService.Generate(&avatar.GenerateRequest{
Format: "png",
Gender: "female",
Upload: true,
Username: "",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,20 @@
package main
import (
"fmt"
"os"
"go.m3o.com/avatar"
)
//
func main() {
avatarService := avatar.NewAvatarService(os.Getenv("M3O_API_TOKEN"))
rsp, err := avatarService.Generate(&avatar.GenerateRequest{
Format: "jpeg",
Gender: "female",
Upload: false,
Username: "",
})
fmt.Println(rsp, err)
}

View File

@@ -1,9 +1,66 @@
# Cache # Cache
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Cache/api](https://m3o.com/Cache/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/cache/api](https://m3o.com/cache/api).
Endpoints: Endpoints:
## Set
Set an item in the cache. Overwrites any existing value already set.
[https://m3o.com/cache/api#Set](https://m3o.com/cache/api#Set)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/cache"
)
// Set an item in the cache. Overwrites any existing value already set.
func SetAvalue() {
cacheService := cache.NewCacheService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cacheService.Set(&cache.SetRequest{
Key: "foo",
Value: "bar",
})
fmt.Println(rsp, err)
}
```
## Get
Get an item from the cache by key. If key is not found, an empty response is returned.
[https://m3o.com/cache/api#Get](https://m3o.com/cache/api#Get)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/cache"
)
// Get an item from the cache by key. If key is not found, an empty response is returned.
func GetAvalue() {
cacheService := cache.NewCacheService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cacheService.Get(&cache.GetRequest{
Key: "foo",
})
fmt.Println(rsp, err)
}
```
## Delete ## Delete
Delete a value from the cache. If key not found a success response is returned. Delete a value from the cache. If key not found a success response is returned.
@@ -90,12 +147,12 @@ Value: 2,
} }
``` ```
## Set ## ListKeys
Set an item in the cache. Overwrites any existing value already set. List all the available keys
[https://m3o.com/cache/api#Set](https://m3o.com/cache/api#Set) [https://m3o.com/cache/api#ListKeys](https://m3o.com/cache/api#ListKeys)
```go ```go
package example package example
@@ -107,40 +164,10 @@ import(
"go.m3o.com/cache" "go.m3o.com/cache"
) )
// Set an item in the cache. Overwrites any existing value already set. // List all the available keys
func SetAvalue() { func ListTheKeys() {
cacheService := cache.NewCacheService(os.Getenv("M3O_API_TOKEN")) cacheService := cache.NewCacheService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cacheService.Set(&cache.SetRequest{ rsp, err := cacheService.ListKeys(&cache.ListKeysRequest{
Key: "foo",
Value: "bar",
})
fmt.Println(rsp, err)
}
```
## Get
Get an item from the cache by key. If key is not found, an empty response is returned.
[https://m3o.com/cache/api#Get](https://m3o.com/cache/api#Get)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/cache"
)
// Get an item from the cache by key. If key is not found, an empty response is returned.
func GetAvalue() {
cacheService := cache.NewCacheService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cacheService.Get(&cache.GetRequest{
Key: "foo",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)

View File

@@ -15,5 +15,4 @@ func main() {
Value: 2, Value: 2,
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Key: "foo", Key: "foo",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Key: "foo", Key: "foo",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -15,5 +15,4 @@ func main() {
Value: 2, Value: 2,
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

15
examples/cache/listKeys/listTheKeys/main.go vendored Executable file
View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/cache"
)
// List all the available keys
func main() {
cacheService := cache.NewCacheService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cacheService.ListKeys(&cache.ListKeysRequest{})
fmt.Println(rsp, err)
}

View File

@@ -15,5 +15,4 @@ func main() {
Value: "bar", Value: "bar",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

33
examples/carbon/README.md Executable file
View File

@@ -0,0 +1,33 @@
# Carbon
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/carbon/api](https://m3o.com/carbon/api).
Endpoints:
## Offset
Purchase 1KG (0.001 tonne) of carbon offsets in a single request
[https://m3o.com/carbon/api#Offset](https://m3o.com/carbon/api#Offset)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/carbon"
)
// Purchase 1KG (0.001 tonne) of carbon offsets in a single request
func OffsetCarbon() {
carbonService := carbon.NewCarbonService(os.Getenv("M3O_API_TOKEN"))
rsp, err := carbonService.Offset(&carbon.OffsetRequest{
})
fmt.Println(rsp, err)
}
```

View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/carbon"
)
// Purchase 1KG (0.001 tonne) of carbon offsets in a single request
func main() {
carbonService := carbon.NewCarbonService(os.Getenv("M3O_API_TOKEN"))
rsp, err := carbonService.Offset(&carbon.OffsetRequest{})
fmt.Println(rsp, err)
}

219
examples/contact/README.md Executable file
View File

@@ -0,0 +1,219 @@
# Contact
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/contact/api](https://m3o.com/contact/api).
Endpoints:
## Create
[https://m3o.com/contact/api#Create](https://m3o.com/contact/api#Create)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/contact"
)
//
func CreateAcontact() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Create(&contact.CreateRequest{
Addresses: []contact.Address{
contact.Address{
Label: "company address",
Location: "123 street address",
}},
Birthday: "1995-01-01",
Emails: []contact.Email{
contact.Email{
Address: "home@example.com",
Label: "home",
}},
Links: []contact.Link{
contact.Link{
Label: "blog",
Url: "https://blog.joe.me",
}},
Name: "joe",
Note: "this person is very important",
Phones: []contact.Phone{
contact.Phone{
Label: "home",
Number: "010-12345678",
}},
})
fmt.Println(rsp, err)
}
```
## Update
[https://m3o.com/contact/api#Update](https://m3o.com/contact/api#Update)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/contact"
)
//
func UpdateAcontact() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Update(&contact.UpdateRequest{
Addresses: []contact.Address{
contact.Address{
Label: "company address",
Location: "123 street address",
}},
Birthday: "1995-01-01",
Emails: []contact.Email{
contact.Email{
Address: "home@example.com",
Label: "home",
}},
Id: "42e48a3c-6221-11ec-96d2-acde48001122",
Links: []contact.Link{
contact.Link{
Label: "blog",
Url: "https://blog.joe.me",
}},
Name: "joe",
Note: "this person is very important",
Phones: []contact.Phone{
contact.Phone{
Label: "home",
Number: "010-12345678",
}},
})
fmt.Println(rsp, err)
}
```
## Read
[https://m3o.com/contact/api#Read](https://m3o.com/contact/api#Read)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/contact"
)
//
func GetAcontact() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Read(&contact.ReadRequest{
Id: "42e48a3c-6221-11ec-96d2-acde48001122",
})
fmt.Println(rsp, err)
}
```
## Delete
[https://m3o.com/contact/api#Delete](https://m3o.com/contact/api#Delete)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/contact"
)
//
func DeleteAcontact() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Delete(&contact.DeleteRequest{
Id: "42e48a3c-6221-11ec-96d2-acde48001122",
})
fmt.Println(rsp, err)
}
```
## List
[https://m3o.com/contact/api#List](https://m3o.com/contact/api#List)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/contact"
)
//
func ListContactsWithDefaultOffsetAndLimitDefaultLimitIs20() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.List(&contact.ListRequest{
})
fmt.Println(rsp, err)
}
```
## List
[https://m3o.com/contact/api#List](https://m3o.com/contact/api#List)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/contact"
)
//
func ListContactsWithSpecificOffsetAndLimit() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.List(&contact.ListRequest{
Limit: 1,
Offset: 1,
})
fmt.Println(rsp, err)
}
```

View File

@@ -0,0 +1,39 @@
package main
import (
"fmt"
"os"
"go.m3o.com/contact"
)
//
func main() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Create(&contact.CreateRequest{
Addresses: []contact.Address{
contact.Address{
Label: "company address",
Location: "123 street address",
}},
Birthday: "1995-01-01",
Emails: []contact.Email{
contact.Email{
Address: "home@example.com",
Label: "home",
}},
Links: []contact.Link{
contact.Link{
Label: "blog",
Url: "https://blog.joe.me",
}},
Name: "joe",
Note: "this person is very important",
Phones: []contact.Phone{
contact.Phone{
Label: "home",
Number: "010-12345678",
}},
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/contact"
)
//
func main() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Delete(&contact.DeleteRequest{
Id: "42e48a3c-6221-11ec-96d2-acde48001122",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/contact"
)
//
func main() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.List(&contact.ListRequest{})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,18 @@
package main
import (
"fmt"
"os"
"go.m3o.com/contact"
)
//
func main() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.List(&contact.ListRequest{
Limit: 1,
Offset: 1,
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/contact"
)
//
func main() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Read(&contact.ReadRequest{
Id: "42e48a3c-6221-11ec-96d2-acde48001122",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,40 @@
package main
import (
"fmt"
"os"
"go.m3o.com/contact"
)
//
func main() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.Update(&contact.UpdateRequest{
Addresses: []contact.Address{
contact.Address{
Label: "company address",
Location: "123 street address",
}},
Birthday: "1995-01-01",
Emails: []contact.Email{
contact.Email{
Address: "home@example.com",
Label: "home",
}},
Id: "42e48a3c-6221-11ec-96d2-acde48001122",
Links: []contact.Link{
contact.Link{
Label: "blog",
Url: "https://blog.joe.me",
}},
Name: "joe",
Note: "this person is very important",
Phones: []contact.Phone{
contact.Phone{
Label: "home",
Number: "010-12345678",
}},
})
fmt.Println(rsp, err)
}

View File

@@ -1,9 +1,37 @@
# Crypto # Crypto
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Crypto/api](https://m3o.com/Crypto/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/crypto/api](https://m3o.com/crypto/api).
Endpoints: Endpoints:
## Quote
Get the last quote for a given crypto ticker
[https://m3o.com/crypto/api#Quote](https://m3o.com/crypto/api#Quote)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/crypto"
)
// Get the last quote for a given crypto ticker
func GetAcryptocurrencyQuote() {
cryptoService := crypto.NewCryptoService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cryptoService.Quote(&crypto.QuoteRequest{
Symbol: "BTCUSD",
})
fmt.Println(rsp, err)
}
```
## History ## History
Returns the history for the previous close Returns the history for the previous close
@@ -88,31 +116,3 @@ func GetCryptocurrencyPrice() {
} }
``` ```
## Quote
Get the last quote for a given crypto ticker
[https://m3o.com/crypto/api#Quote](https://m3o.com/crypto/api#Quote)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/crypto"
)
// Get the last quote for a given crypto ticker
func GetAcryptocurrencyQuote() {
cryptoService := crypto.NewCryptoService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cryptoService.Quote(&crypto.QuoteRequest{
Symbol: "BTCUSD",
})
fmt.Println(rsp, err)
}
```

View File

@@ -14,5 +14,4 @@ func main() {
Symbol: "BTCUSD", Symbol: "BTCUSD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Symbol: "BTCUSD", Symbol: "BTCUSD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Symbol: "BTCUSD", Symbol: "BTCUSD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Symbol: "BTCUSD", Symbol: "BTCUSD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,64 +1,9 @@
# Currency # Currency
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Currency/api](https://m3o.com/Currency/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/currency/api](https://m3o.com/currency/api).
Endpoints: Endpoints:
## Codes
Codes returns the supported currency codes for the API
[https://m3o.com/currency/api#Codes](https://m3o.com/currency/api#Codes)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/currency"
)
// Codes returns the supported currency codes for the API
func GetSupportedCodes() {
currencyService := currency.NewCurrencyService(os.Getenv("M3O_API_TOKEN"))
rsp, err := currencyService.Codes(&currency.CodesRequest{
})
fmt.Println(rsp, err)
}
```
## Rates
Rates returns the currency rates for a given code e.g USD
[https://m3o.com/currency/api#Rates](https://m3o.com/currency/api#Rates)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/currency"
)
// Rates returns the currency rates for a given code e.g USD
func GetRatesForUsd() {
currencyService := currency.NewCurrencyService(os.Getenv("M3O_API_TOKEN"))
rsp, err := currencyService.Rates(&currency.RatesRequest{
Code: "USD",
})
fmt.Println(rsp, err)
}
```
## Convert ## Convert
Convert returns the currency conversion rate between two pairs e.g USD/GBP Convert returns the currency conversion rate between two pairs e.g USD/GBP
@@ -147,3 +92,58 @@ Date: "2021-05-30",
} }
``` ```
## Codes
Codes returns the supported currency codes for the API
[https://m3o.com/currency/api#Codes](https://m3o.com/currency/api#Codes)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/currency"
)
// Codes returns the supported currency codes for the API
func GetSupportedCodes() {
currencyService := currency.NewCurrencyService(os.Getenv("M3O_API_TOKEN"))
rsp, err := currencyService.Codes(&currency.CodesRequest{
})
fmt.Println(rsp, err)
}
```
## Rates
Rates returns the currency rates for a given code e.g USD
[https://m3o.com/currency/api#Rates](https://m3o.com/currency/api#Rates)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/currency"
)
// Rates returns the currency rates for a given code e.g USD
func GetRatesForUsd() {
currencyService := currency.NewCurrencyService(os.Getenv("M3O_API_TOKEN"))
rsp, err := currencyService.Rates(&currency.RatesRequest{
Code: "USD",
})
fmt.Println(rsp, err)
}
```

View File

@@ -12,5 +12,4 @@ func main() {
currencyService := currency.NewCurrencyService(os.Getenv("M3O_API_TOKEN")) currencyService := currency.NewCurrencyService(os.Getenv("M3O_API_TOKEN"))
rsp, err := currencyService.Codes(&currency.CodesRequest{}) rsp, err := currencyService.Codes(&currency.CodesRequest{})
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -16,5 +16,4 @@ func main() {
To: "GBP", To: "GBP",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -15,5 +15,4 @@ func main() {
To: "GBP", To: "GBP",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -15,5 +15,4 @@ func main() {
Date: "2021-05-30", Date: "2021-05-30",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Code: "USD", Code: "USD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,43 +1,9 @@
# Db # Db
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Db/api](https://m3o.com/Db/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/db/api](https://m3o.com/db/api).
Endpoints: Endpoints:
## Create
Create a record in the database. Optionally include an "id" field otherwise it's set automatically.
[https://m3o.com/db/api#Create](https://m3o.com/db/api#Create)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/db"
)
// Create a record in the database. Optionally include an "id" field otherwise it's set automatically.
func CreateArecord() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Create(&db.CreateRequest{
Record: map[string]interface{}{
"id": "1",
"name": "Jane",
"age": 42,
"isActive": true,
},
Table: "users",
})
fmt.Println(rsp, err)
}
```
## Update ## Update
Update a record in the database. Include an "id" in the record to update. Update a record in the database. Include an "id" in the record to update.
@@ -63,7 +29,7 @@ func UpdateArecord() {
"id": "1", "id": "1",
"age": 43, "age": 43,
}, },
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
@@ -92,7 +58,124 @@ func ReadRecords() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Read(&db.ReadRequest{ rsp, err := dbService.Read(&db.ReadRequest{
Query: "age == 43", Query: "age == 43",
Table: "users", Table: "example",
})
fmt.Println(rsp, err)
}
```
## DropTable
Drop a table in the DB
[https://m3o.com/db/api#DropTable](https://m3o.com/db/api#DropTable)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/db"
)
// Drop a table in the DB
func DropTable() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.DropTable(&db.DropTableRequest{
Table: "example",
})
fmt.Println(rsp, err)
}
```
## Count
Count records in a table
[https://m3o.com/db/api#Count](https://m3o.com/db/api#Count)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/db"
)
// Count records in a table
func CountEntriesInAtable() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Count(&db.CountRequest{
Table: "example",
})
fmt.Println(rsp, err)
}
```
## ListTables
List tables in the DB
[https://m3o.com/db/api#ListTables](https://m3o.com/db/api#ListTables)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/db"
)
// List tables in the DB
func ListTables() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.ListTables(&db.ListTablesRequest{
})
fmt.Println(rsp, err)
}
```
## Create
Create a record in the database. Optionally include an "id" field otherwise it's set automatically.
[https://m3o.com/db/api#Create](https://m3o.com/db/api#Create)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/db"
)
// Create a record in the database. Optionally include an "id" field otherwise it's set automatically.
func CreateArecord() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Create(&db.CreateRequest{
Record: map[string]interface{}{
"isActive": true,
"id": "1",
"name": "Jane",
"age": 42,
},
Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
@@ -121,7 +204,7 @@ func DeleteArecord() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Delete(&db.DeleteRequest{ rsp, err := dbService.Delete(&db.DeleteRequest{
Id: "1", Id: "1",
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
@@ -149,19 +232,19 @@ import(
func TruncateTable() { func TruncateTable() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Truncate(&db.TruncateRequest{ rsp, err := dbService.Truncate(&db.TruncateRequest{
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }
``` ```
## Count ## RenameTable
Count records in a table Rename a table
[https://m3o.com/db/api#Count](https://m3o.com/db/api#Count) [https://m3o.com/db/api#RenameTable](https://m3o.com/db/api#RenameTable)
```go ```go
package example package example
@@ -173,11 +256,12 @@ import(
"go.m3o.com/db" "go.m3o.com/db"
) )
// Count records in a table // Rename a table
func CountEntriesInAtable() { func RenameTable() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Count(&db.CountRequest{ rsp, err := dbService.RenameTable(&db.RenameTableRequest{
Table: "users", From: "examples2",
To: "examples3",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)

View File

@@ -11,8 +11,7 @@ import (
func main() { func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Count(&db.CountRequest{ rsp, err := dbService.Count(&db.CountRequest{
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -17,8 +17,7 @@ func main() {
"age": 42, "age": 42,
"isActive": true, "isActive": true,
}, },
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -12,8 +12,7 @@ func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Delete(&db.DeleteRequest{ rsp, err := dbService.Delete(&db.DeleteRequest{
Id: "1", Id: "1",
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/db"
)
// Drop a table in the DB
func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.DropTable(&db.DropTableRequest{
Table: "example",
})
fmt.Println(rsp, err)
}

View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/db"
)
// List tables in the DB
func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.ListTables(&db.ListTablesRequest{})
fmt.Println(rsp, err)
}

View File

@@ -12,8 +12,7 @@ func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Read(&db.ReadRequest{ rsp, err := dbService.Read(&db.ReadRequest{
Query: "age == 43", Query: "age == 43",
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -0,0 +1,18 @@
package main
import (
"fmt"
"os"
"go.m3o.com/db"
)
// Rename a table
func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.RenameTable(&db.RenameTableRequest{
From: "examples2",
To: "examples3",
})
fmt.Println(rsp, err)
}

View File

@@ -11,8 +11,7 @@ import (
func main() { func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN")) dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.Truncate(&db.TruncateRequest{ rsp, err := dbService.Truncate(&db.TruncateRequest{
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -15,8 +15,7 @@ func main() {
"id": "1", "id": "1",
"age": 43, "age": 43,
}, },
Table: "users", Table: "example",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,9 +1,37 @@
# Email # Email
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Email/api](https://m3o.com/Email/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/email/api](https://m3o.com/email/api).
Endpoints: Endpoints:
## Validate
Validate an email address format
[https://m3o.com/email/api#Validate](https://m3o.com/email/api#Validate)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/email"
)
// Validate an email address format
func ValidateEmail() {
emailService := email.NewEmailService(os.Getenv("M3O_API_TOKEN"))
rsp, err := emailService.Validate(&email.ValidateRequest{
Address: "joe@example.com",
})
fmt.Println(rsp, err)
}
```
## Send ## Send
Send an email by passing in from, to, subject, and a text or html body Send an email by passing in from, to, subject, and a text or html body
@@ -36,3 +64,31 @@ Please verify your email by clicking this link: $micro_verification_link`,
} }
``` ```
## Parse
Parse an RFC5322 address e.g "Joe Blogs <joe@example.com>"
[https://m3o.com/email/api#Parse](https://m3o.com/email/api#Parse)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/email"
)
// Parse an RFC5322 address e.g "Joe Blogs <joe@example.com>"
func ParseEmail() {
emailService := email.NewEmailService(os.Getenv("M3O_API_TOKEN"))
rsp, err := emailService.Parse(&email.ParseRequest{
Address: "Joe Blogs <joe@example.com>",
})
fmt.Println(rsp, err)
}
```

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/email"
)
// Parse an RFC5322 address e.g "Joe Blogs <joe@example.com>"
func main() {
emailService := email.NewEmailService(os.Getenv("M3O_API_TOKEN"))
rsp, err := emailService.Parse(&email.ParseRequest{
Address: "Joe Blogs <joe@example.com>",
})
fmt.Println(rsp, err)
}

View File

@@ -18,5 +18,4 @@ func main() {
Please verify your email by clicking this link: $micro_verification_link`, Please verify your email by clicking this link: $micro_verification_link`,
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/email"
)
// Validate an email address format
func main() {
emailService := email.NewEmailService(os.Getenv("M3O_API_TOKEN"))
rsp, err := emailService.Validate(&email.ValidateRequest{
Address: "joe@example.com",
})
fmt.Println(rsp, err)
}

View File

@@ -1,6 +1,6 @@
# Emoji # Emoji
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Emoji/api](https://m3o.com/Emoji/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/emoji/api](https://m3o.com/emoji/api).
Endpoints: Endpoints:

View File

@@ -14,5 +14,4 @@ func main() {
Alias: ":beer:", Alias: ":beer:",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -12,5 +12,4 @@ func main() {
emojiService := emoji.NewEmojiService(os.Getenv("M3O_API_TOKEN")) emojiService := emoji.NewEmojiService(os.Getenv("M3O_API_TOKEN"))
rsp, err := emojiService.Flag(&emoji.FlagRequest{}) rsp, err := emojiService.Flag(&emoji.FlagRequest{})
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -15,5 +15,4 @@ func main() {
Text: "let's grab a :beer:", Text: "let's grab a :beer:",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -16,5 +16,4 @@ func main() {
To: "+44782669123", To: "+44782669123",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,36 +1,9 @@
# Evchargers # Evchargers
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Evchargers/api](https://m3o.com/Evchargers/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/evchargers/api](https://m3o.com/evchargers/api).
Endpoints: Endpoints:
## ReferenceData
Retrieve reference data as used by this API and in conjunction with the Search endpoint
[https://m3o.com/evchargers/api#ReferenceData](https://m3o.com/evchargers/api#ReferenceData)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/evchargers"
)
// Retrieve reference data as used by this API and in conjunction with the Search endpoint
func GetReferenceData() {
evchargersService := evchargers.NewEvchargersService(os.Getenv("M3O_API_TOKEN"))
rsp, err := evchargersService.ReferenceData(&evchargers.ReferenceDataRequest{
})
fmt.Println(rsp, err)
}
```
## Search ## Search
Search by giving a coordinate and a max distance, or bounding box and optional filters Search by giving a coordinate and a max distance, or bounding box and optional filters
@@ -125,3 +98,30 @@ Location: &evchargers.Coordinates{
} }
``` ```
## ReferenceData
Retrieve reference data as used by this API and in conjunction with the Search endpoint
[https://m3o.com/evchargers/api#ReferenceData](https://m3o.com/evchargers/api#ReferenceData)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/evchargers"
)
// Retrieve reference data as used by this API and in conjunction with the Search endpoint
func GetReferenceData() {
evchargersService := evchargers.NewEvchargersService(os.Getenv("M3O_API_TOKEN"))
rsp, err := evchargersService.ReferenceData(&evchargers.ReferenceDataRequest{
})
fmt.Println(rsp, err)
}
```

View File

@@ -12,5 +12,4 @@ func main() {
evchargersService := evchargers.NewEvchargersService(os.Getenv("M3O_API_TOKEN")) evchargersService := evchargers.NewEvchargersService(os.Getenv("M3O_API_TOKEN"))
rsp, err := evchargersService.ReferenceData(&evchargers.ReferenceDataRequest{}) rsp, err := evchargersService.ReferenceData(&evchargers.ReferenceDataRequest{})
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Box: &evchargers.BoundingBox{}, Box: &evchargers.BoundingBox{},
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -18,5 +18,4 @@ func main() {
}, },
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -19,5 +19,4 @@ func main() {
}, },
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,42 +1,9 @@
# Event # Event
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Event/api](https://m3o.com/Event/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/event/api](https://m3o.com/event/api).
Endpoints: Endpoints:
## Publish
Publish a event to the event stream.
[https://m3o.com/event/api#Publish](https://m3o.com/event/api#Publish)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/event"
)
// Publish a event to the event stream.
func PublishAnEvent() {
eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN"))
rsp, err := eventService.Publish(&event.PublishRequest{
Message: map[string]interface{}{
"user": "john",
"id": "1",
"type": "signup",
},
Topic: "user",
})
fmt.Println(rsp, err)
}
```
## Consume ## Consume
Consume events from a given topic. Consume events from a given topic.
@@ -106,3 +73,36 @@ func ReadEventsOnAtopic() {
} }
``` ```
## Publish
Publish a event to the event stream.
[https://m3o.com/event/api#Publish](https://m3o.com/event/api#Publish)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/event"
)
// Publish a event to the event stream.
func PublishAnEvent() {
eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN"))
rsp, err := eventService.Publish(&event.PublishRequest{
Message: map[string]interface{}{
"id": "1",
"type": "signup",
"user": "john",
},
Topic: "user",
})
fmt.Println(rsp, err)
}
```

View File

@@ -10,7 +10,6 @@ import (
// Consume events from a given topic. // Consume events from a given topic.
func main() { func main() {
eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN")) eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN"))
stream, err := eventService.Consume(&event.ConsumeRequest{ stream, err := eventService.Consume(&event.ConsumeRequest{
Topic: "user", Topic: "user",
}) })

View File

@@ -12,12 +12,11 @@ func main() {
eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN")) eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN"))
rsp, err := eventService.Publish(&event.PublishRequest{ rsp, err := eventService.Publish(&event.PublishRequest{
Message: map[string]interface{}{ Message: map[string]interface{}{
"user": "john",
"id": "1", "id": "1",
"type": "signup", "type": "signup",
"user": "john",
}, },
Topic: "user", Topic: "user",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Topic: "user", Topic: "user",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,17 +0,0 @@
package example
import (
"fmt"
"os"
"go.m3o.com/event"
)
// Subscribe to messages for a given topic.
func SubscribeToAtopic() {
eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN"))
rsp, err := eventService.Subscribe(&event.SubscribeRequest{
Topic: "user",
})
fmt.Println(rsp, err)
}

View File

@@ -1,9 +1,37 @@
# File # File
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/File/api](https://m3o.com/File/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/file/api](https://m3o.com/file/api).
Endpoints: Endpoints:
## List
List files by their project and optionally a path.
[https://m3o.com/file/api#List](https://m3o.com/file/api#List)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/file"
)
// List files by their project and optionally a path.
func ListFiles() {
fileService := file.NewFileService(os.Getenv("M3O_API_TOKEN"))
rsp, err := fileService.List(&file.ListRequest{
Project: "examples",
})
fmt.Println(rsp, err)
}
```
## Read ## Read
Read a file by path Read a file by path
@@ -31,6 +59,35 @@ Project: "examples",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
}
```
## Delete
Delete a file by project name/path
[https://m3o.com/file/api#Delete](https://m3o.com/file/api#Delete)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/file"
)
// Delete a file by project name/path
func DeleteFile() {
fileService := file.NewFileService(os.Getenv("M3O_API_TOKEN"))
rsp, err := fileService.Delete(&file.DeleteRequest{
Path: "/document/text-files/file.txt",
Project: "examples",
})
fmt.Println(rsp, err)
} }
``` ```
## Save ## Save
@@ -65,60 +122,3 @@ func SaveFile() {
} }
``` ```
## List
List files by their project and optionally a path.
[https://m3o.com/file/api#List](https://m3o.com/file/api#List)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/file"
)
// List files by their project and optionally a path.
func ListFiles() {
fileService := file.NewFileService(os.Getenv("M3O_API_TOKEN"))
rsp, err := fileService.List(&file.ListRequest{
Project: "examples",
})
fmt.Println(rsp, err)
}
```
## Delete
Delete a file by project name/path
[https://m3o.com/file/api#Delete](https://m3o.com/file/api#Delete)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/file"
)
// Delete a file by project name/path
func DeleteFile() {
fileService := file.NewFileService(os.Getenv("M3O_API_TOKEN"))
rsp, err := fileService.Delete(&file.DeleteRequest{
Path: "/document/text-files/file.txt",
Project: "examples",
})
fmt.Println(rsp, err)
}
```

View File

@@ -15,5 +15,4 @@ func main() {
Project: "examples", Project: "examples",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Project: "examples", Project: "examples",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -15,5 +15,4 @@ func main() {
Project: "examples", Project: "examples",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -18,5 +18,4 @@ func main() {
}, },
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,6 +1,6 @@
# Forex # Forex
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Forex/api](https://m3o.com/Forex/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/forex/api](https://m3o.com/forex/api).
Endpoints: Endpoints:

View File

@@ -14,5 +14,4 @@ func main() {
Symbol: "GBPUSD", Symbol: "GBPUSD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Symbol: "GBPUSD", Symbol: "GBPUSD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -14,5 +14,4 @@ func main() {
Symbol: "GBPUSD", Symbol: "GBPUSD",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -1,9 +1,37 @@
# Function # Function
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Function/api](https://m3o.com/Function/api). An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/function/api](https://m3o.com/function/api).
Endpoints: Endpoints:
## Reserve
Reserve function names and resources beyond free quota
[https://m3o.com/function/api#Reserve](https://m3o.com/function/api#Reserve)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/function"
)
// Reserve function names and resources beyond free quota
func ReserveAfunction() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Reserve(&function.ReserveRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}
```
## Deploy ## Deploy
Deploy a group of functions Deploy a group of functions
@@ -25,23 +53,25 @@ import(
func DeployAfunction() { func DeployAfunction() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Deploy(&function.DeployRequest{ rsp, err := functionService.Deploy(&function.DeployRequest{
Entrypoint: "helloworld", Branch: "main",
Name: "my-first-func", Entrypoint: "Helloworld",
Project: "tests", Name: "helloworld",
Repo: "github.com/m3o/nodejs-function-example", Region: "europe-west1",
Runtime: "nodejs14", Repo: "https://github.com/m3o/m3o",
Runtime: "go116",
Subfolder: "examples/go-function",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }
``` ```
## Call ## Regions
Call a function by name Return a list of supported regions
[https://m3o.com/function/api#Call](https://m3o.com/function/api#Call) [https://m3o.com/function/api#Regions](https://m3o.com/function/api#Regions)
```go ```go
package example package example
@@ -53,13 +83,10 @@ import(
"go.m3o.com/function" "go.m3o.com/function"
) )
// Call a function by name // Return a list of supported regions
func CallAfunction() { func ListRegions() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Call(&function.CallRequest{ rsp, err := functionService.Regions(&function.RegionsRequest{
Name: "my-first-func",
Request: map[string]interface{}{
},
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
@@ -114,8 +141,7 @@ import(
func DeleteAfunction() { func DeleteAfunction() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Delete(&function.DeleteRequest{ rsp, err := functionService.Delete(&function.DeleteRequest{
Name: "my-first-func", Name: "helloworld",
Project: "tests",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
@@ -143,8 +169,94 @@ import(
func DescribeFunctionStatus() { func DescribeFunctionStatus() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Describe(&function.DescribeRequest{ rsp, err := functionService.Describe(&function.DescribeRequest{
Name: "my-first-func", Name: "helloworld",
Project: "tests",
})
fmt.Println(rsp, err)
}
```
## Proxy
Return the backend url for proxying
[https://m3o.com/function/api#Proxy](https://m3o.com/function/api#Proxy)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/function"
)
// Return the backend url for proxying
func ProxyUrl() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Proxy(&function.ProxyRequest{
Id: "helloworld",
})
fmt.Println(rsp, err)
}
```
## Update
Update a function. Downloads the source, builds and redeploys
[https://m3o.com/function/api#Update](https://m3o.com/function/api#Update)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/function"
)
// Update a function. Downloads the source, builds and redeploys
func UpdateAfunction() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Update(&function.UpdateRequest{
Name: "helloworld",
})
fmt.Println(rsp, err)
}
```
## Call
Call a function by name
[https://m3o.com/function/api#Call](https://m3o.com/function/api#Call)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/function"
)
// Call a function by name
func CallAfunction() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Call(&function.CallRequest{
Name: "helloworld",
Request: map[string]interface{}{
"name": "Alice",
},
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)

View File

@@ -11,9 +11,10 @@ import (
func main() { func main() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Call(&function.CallRequest{ rsp, err := functionService.Call(&function.CallRequest{
Name: "my-first-func", Name: "helloworld",
Request: map[string]interface{}{}, Request: map[string]interface{}{
"name": "Alice",
},
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

View File

@@ -12,7 +12,6 @@ func DeleteAfunction() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Delete(&function.DeleteRequest{ rsp, err := functionService.Delete(&function.DeleteRequest{
Name: "my-first-func", Name: "my-first-func",
Project: "tests",
}) })
fmt.Println(rsp, err) fmt.Println(rsp, err)
} }

Some files were not shown because too many files have changed in this diff Show More