Code Monkey home page Code Monkey logo

whatsgw's Introduction

whatsgw

API para WhatsApp Grátis, envie Texto, Image, Video, PDF, Documento. Crie BOTÕES com links.

Exemplos de aplicação para utilizar a API WhatsApp WhatsGW

  1. Cadastre-se para obter seu APIKey
  2. Instale a Extensão do Google Chrome ou faça a leitura do QRCode em nossa plataforma.
  3. Valide sua APIKey na Extensão do Google Chrome
  4. Abra o WhatsApp Web
  5. Faça suas integrações

##CSHARP

var parameters = new System.Collections.Specialized.NameValueCollection();
var client = new System.Net.WebClient();
var url = "https://app.whatsgw.com.br/api/WhatsGw/Send/";

parameters.Add("apikey", "6E3F58D5-8784-45F3-B436-YOWAPIKEY");
parameters.Add("phone_number", "551199999999");
parameters.Add("contact_phone_number", "551199999999");
parameters.Add("message_custom_id", "tste");
parameters.Add("message_type", "text");
parameters.Add("message_body", "Hello World WhatsGW");

string responseString = "";
byte[] response_data;

response_data = client.UploadValues(url, "POST", parameters);
responseString = UnicodeEncoding.UTF8.GetString(response_data);

##COMMAND LINE

Example1: send.exe "apikey=B3CA76C2-07F3-47E6-A2F8-YOWAPIKEY&phone_number=5511999999999&contact_phone_number=5511999999999&message_custom_id=mysoftwareid&message_type=text&message_body=Teste%20de%20Msg%5Cn_Italico_%20%5Cnnegrito%5Cntachado%5Cn%60%60%60Monoespa%C3%A7ado%60%60%60%5Cn%F0%9F%98%9C&check_status=1&schedule=2021%2F04%2F01%2021%3A00%3A00"

Example2: send.exe "" "c:\body.txt"

whatsgw's People

Contributors

dliocode avatar phenriquec avatar whatsgw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.