Difference between revisions of "API Bibliotecas (Gal)"

From Steem Center
Jump to: navigation, search
(pegar modelo)
 
(Pegado Texto en inglés)
Line 1: Line 1:
ESta é unha suxerencia básica pra un modelo de páxina da wiki. Fai click en "edit" no topo da páxina para copiar o código e pegalo na túa nova paxina.
+
API Libraries allow you to work with either the WebSocket Steemd API, or the cli_wallet API. They are available for many languages.
  
Usa este espazo para escribir arredor de tópicos relacionacos con  [https://www.steem.center/index.php?title=Steem_gal Steem], [https://www.steem.center/index.php?title=Steemit_(gal):FAQ Steemit] and the [https://www.steem.center/index.php?title=Tokens_STEEM STEEM Tokens].
+
Be aware you don't need to run your own Steem daemon for most cases, you can just connect to a public one, such as Steem.WS ran by @Xeroc and @Jesta.
 
 
Podese usar o codigo html break <nowiki> <br> </nowiki>  para cortar as liñas como eiqui. <br>
 
Logo de iso, escribe eiquí o teu wikitexto. Se queres testar e probar antes, podes xogar entradas de wiki na páxina[[Steem.center:Sandbox]].
 
 
 
Podese enlazar a unha páxina wiki existente usando outra verba entre corchetes e separadas por un dash <code> | </code> como eiqui:
 
<nowiki>[[Steemian|steemian]]  </nowiki> [[Steemian|steemian]]
 
 
 
Podes crear citas ou facer chamadas a partes do texto que o sistema da wiki identificará con números <code><nowiki><ref>[https://www.mediawiki.org/wiki/Help:Cite Help:Axuda] '''MediaWiki.org''', percurado o 25 de Xullo do 2017</ref></nowiki></code> e a chamada referenciarase automáticamente  en '''Referencias''' no fundo da páxina <ref>[https://www.mediawiki.org/wiki/Help:Cite Help:Axuda] '''MediaWiki.org''', percurado o 25 de Xullo do 2017</ref>
 
<br>
 
<code><nowiki><ref>[http://www.siteurl.com/article Title of the article or post], Written by '''Name of Author''' </ref></nowiki></code><ref>[http://www.siteurl.com/article Title of the article or post], Written by '''Name of Author''' </ref>
 
<br>
 
<code><nowiki><ref>([http://steemit.com/@steemitusername @steemitusername]) en Nome do Sitio en Mes, Ano, </ref> </nowiki></code>
 
<ref>([http://steemit.com/@steemitusername @steemitusername]) en Nome do Sitio en Mes, Ano, </ref>
 
<br>
 
Como foi proposto por Freyman comentando neste post en Steemit <ref>[https://steemit.com/steemcenterwiki/@steemcenterwiki/anatomy-of-a-pleasant-and-desirable-steem-center-wiki-page-plus-a-new-received-donation-from-scooter77#@freyman/re-steemcenterwiki-anatomy-of-a-pleasant-and-desirable-steem-center-wiki-page-plus-a-new-received-donation-from-scooter77-20170716t002027869z Proposta de uso de Referencias], escrito por '''Freyman''' ([http://steemit.com/@freyman @freyman]) in July 15th, 2017</ref>.
 
  
 +
Items tagged with {TX SIGNING} support the ability to build STEEM transactions. Those without the tag may not be able to build transactions, e.g. upvotes, price feeds etc.
 
Se a referenncia vai ser citada varias veces, o código a usar muda un chisco: .  
 
Se a referenncia vai ser citada varias veces, o código a usar muda un chisco: .  
  
Line 28: Line 14:
 
|}
 
|}
 
<br>
 
<br>
 +
== Building your own library ==
 +
 +
Both '''Steemd''' and the '''cli_wallet''' use a standard JSON RPC over Websockets or HTTP system for most calls. @klye has written an article explaining the basics of the JSON RPC system: https://steemit.com/steem/@klye/an-introduction-to-steemd-api-calls-functions-and-usage
 +
 +
To support transactions, such as upvoting, memos, and posts, you can check out this in-depth article by @xeroc, creator of the Python Steem library, Piston: https://steemit.com/steem/@xeroc/steem-transaction-signing-in-a-nutshell
 +
 +
== Python ==
 +
* [https://github.com/xeroc/piston Piston (@xeroc)] {'''TX SIGNING'''} - A powerful python API capable of making bots in just a few lines of code, and any other interaction with the Blockchain that you would require.
 +
 +
== Javascript ==
 +
 +
* [https://github.com/svk31/steemjs-lib SteemJS (@svk)] {'''TX SIGNING'''} - A javascript library capable of building, signing, and broadcasting Steem transactions, and other useful functions.
 +
* [https://github.com/pharesim/steemjs SteemJS (@pharesim)] - Unrelated to SVK's SteemJS. This offers nothing more than a very light JS API for connecting to the Steem WebSocket API.
 +
 +
== PHP ==
 +
 +
* [https://github.com/lukestokes/php-steem-tools PHP Steem Tools (@lukestokes)]
 +
 +
== Ruby ==
 +
 +
* [https://github.com/inertia186/radiator Radiator (@inertia)] {'''TX SIGNING'''} - Ruby API Client for Steem.
 +
* [https://github.com/steem-third-party/steemdata-rb steemdata-rb (@inertia)] - ActiveRecord (ruby) wrapper for SteemData (see '''MongoDB''' below).
 +
* [https://github.com/netuoso/steem_api steem_api (@netuoso)] - Rails compatible gem that provides full DB connection and models to SteemSQL.com.
 +
 +
== Golang ==
 +
 +
* [https://github.com/go-steem/rpc Go-Steem (@void aka @tchap)] {'''TX SIGNING'''} - A library for STEEM which supports transaction signing.
 +
 +
== Java ==
 +
 +
* [https://github.com/marvin-we/steem-java-api-wrapper Steem API-Wrapper for Java (@dez1337)] {'''TX SIGNING'''} - An API Wrapper for Steem written in Java.
 +
 +
== SQL ==
 +
 +
* [http://steemsql.com/ Steem SQL (@arcange)] - A publicly exposed Microsoft SQL database containing all the blockchain data for STEEM.
 +
 +
== MongoDB ==
 +
 +
* [http://steemdata.com/ SteemData (@furion)] - A publicly exposed MongoDB service containing all the blockchain data for STEEM.
 +
 +
== Rust ==
 +
 +
* [https://github.com/cyberpunk-ventures/steem-client-rs steem-client-rs (@ontofractal)] - This is a Steem client library for Rust. Work in progress.
 +
 +
== Rethinkdb ==
 +
 +
* [https://github.com/faddat/ingestron Ingestron Steem (@faddat)] - Rethinkdb Ingestor in Golang.
  
 
=== Mais texto arredor do Texto do título ===
 
=== Mais texto arredor do Texto do título ===

Revision as of 17:27, 13 August 2017

API Libraries allow you to work with either the WebSocket Steemd API, or the cli_wallet API. They are available for many languages.

Be aware you don't need to run your own Steem daemon for most cases, you can just connect to a public one, such as Steem.WS ran by @Xeroc and @Jesta.

Items tagged with {TX SIGNING} support the ability to build STEEM transactions. Those without the tag may not be able to build transactions, e.g. upvotes, price feeds etc. Se a referenncia vai ser citada varias veces, o código a usar muda un chisco: .

<ref name="multiple">[https://www.mediawiki.org/wiki/Extension:Cite. Extension:Cite] '''MediaWiki.org''', retrieved in July 24th, 2017</ref>

[1]
Mellora esta entrada. Crea unha Conta no Steem.Center, fai click en editar, e engade ou modifica o texto e garda os cambios.


Building your own library

Both Steemd and the cli_wallet use a standard JSON RPC over Websockets or HTTP system for most calls. @klye has written an article explaining the basics of the JSON RPC system: https://steemit.com/steem/@klye/an-introduction-to-steemd-api-calls-functions-and-usage

To support transactions, such as upvoting, memos, and posts, you can check out this in-depth article by @xeroc, creator of the Python Steem library, Piston: https://steemit.com/steem/@xeroc/steem-transaction-signing-in-a-nutshell

Python

  • Piston (@xeroc) {TX SIGNING} - A powerful python API capable of making bots in just a few lines of code, and any other interaction with the Blockchain that you would require.

Javascript

  • SteemJS (@svk) {TX SIGNING} - A javascript library capable of building, signing, and broadcasting Steem transactions, and other useful functions.
  • SteemJS (@pharesim) - Unrelated to SVK's SteemJS. This offers nothing more than a very light JS API for connecting to the Steem WebSocket API.

PHP

Ruby

Golang

Java

SQL

  • Steem SQL (@arcange) - A publicly exposed Microsoft SQL database containing all the blockchain data for STEEM.

MongoDB

  • SteemData (@furion) - A publicly exposed MongoDB service containing all the blockchain data for STEEM.

Rust

Rethinkdb

Mais texto arredor do Texto do título

Podes ampliar a información arreodr do tópico enfrentado separando o texto en mais partes, cada unha de elas identificada polo seu respectivo título.

Documentación Adicional

Enlaces

Sitios oficiais, tutoriais, Posts relacionados nos Blogs de Steemit etc que axuden a entender o suxeto.

Artigos Relacionados

Links a outros steemCenter artículos

Enlaces Externos

  • Wikipedia : Article title Retrieved in Month/Day/2017
  • Name of the site : Title of the page, blog post or news report Written by Name of Author, published in Month/Day/2017
  • Name of the YouTube Channel : Title of the video Video by Name of Author published in Month/Day/2017
  • Engade enlaces externos suxeridos, como da wikipedia. Tamén podes engadir resultados de Busca de Google ou das News relacionadas e que enriquezan o artigo.

En outros idiomas




Axudanos a manter esta páxina da Wiki actualizada.

Rexistrate, fai click en editar, engade ou modifica o texto e garda os cambios.
Se xa eres steemian, podes ser recompensada con tokens STEEM. Mira cómo en @steemcenterwiki.


Referencias

  1. Extension:Cite MediaWiki.org, retrieved in July 24th, 2017