62 lines
2.1 KiB
HTML
62 lines
2.1 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html>
|
||
|
<!-- Released 2020 under GPL3 -->
|
||
|
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>API (Grassroots Economics CIC notify 0.2.0)</title>
|
||
|
|
||
|
<meta name="description" content="API (Grassroots Economics CIC notify 0.2.0)">
|
||
|
<meta name="keywords" content="API (Grassroots Economics CIC notify 0.2.0)">
|
||
|
<meta name="resource-type" content="document">
|
||
|
<meta name="distribution" content="global">
|
||
|
<meta name="Generator" content="makeinfo">
|
||
|
<link href="index.html" rel="start" title="Top">
|
||
|
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||
|
<link href="index.html" rel="up" title="Top">
|
||
|
<link href="Run.html" rel="prev" title="Run">
|
||
|
<style type="text/css">
|
||
|
<!--
|
||
|
a.summary-letter {text-decoration: none}
|
||
|
blockquote.indentedblock {margin-right: 0em}
|
||
|
div.display {margin-left: 3.2em}
|
||
|
div.example {margin-left: 3.2em}
|
||
|
div.lisp {margin-left: 3.2em}
|
||
|
kbd {font-style: oblique}
|
||
|
pre.display {font-family: inherit}
|
||
|
pre.format {font-family: inherit}
|
||
|
pre.menu-comment {font-family: serif}
|
||
|
pre.menu-preformatted {font-family: serif}
|
||
|
span.nolinebreak {white-space: nowrap}
|
||
|
span.roman {font-family: initial; font-weight: normal}
|
||
|
span.sansserif {font-family: sans-serif; font-weight: normal}
|
||
|
ul.no-bullet {list-style: none}
|
||
|
-->
|
||
|
</style>
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body lang="en">
|
||
|
<span id="API"></span><div class="header">
|
||
|
<p>
|
||
|
Previous: <a href="Run.html" accesskey="p" rel="prev">Run</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
|
||
|
</div>
|
||
|
<hr>
|
||
|
<span id="API-1"></span><h2 class="chapter">4 API</h2>
|
||
|
|
||
|
<p>A single Python API method is provided so far:
|
||
|
</p>
|
||
|
<ul class="no-bullet">
|
||
|
<li> sms(recipient, content)
|
||
|
</li></ul>
|
||
|
|
||
|
<p><code>recipient</code> is a string with phone number in <code>msisdn</code> format with a <code>+</code> prefix.
|
||
|
</p>
|
||
|
<p><code>content</code> is a UTF-8 string containing the message to be sent.
|
||
|
</p>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|