Ver stock de otros locales

HMG en Español

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Ver stock de otros locales

Post by andyglezl »

Acabo de leerlo...
Quizá con esto, alguien se anima a convertirlo a HMG ?
(claro con la ayuda de todos nosotros !)
*---------------------------------------------------------------------
I have just read it...
Perhaps with this, someone is encouraged to convert it to HMG ?
(of course with the help of all of us!)


https://send-anywhere.com

SendAnywhere-Web-API

https://github.com/estmob/SendAnywhere-Web-API
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Ver stock de otros locales

Post by danielmaximiliano »

Andy Web-Api tiene 3 batch sencillos para el envio y recepción.

Code: Select all

@ECHO OFF
curl --version
IF NOT "%ERRORLEVEL%" == "0" GOTO NOT_INSTALLED

SET TOKEN_FILE=.sendanywhere-token.txt
SET API_KEY=YOUR_API_KEY

curl -s -c %TOKEN_FILE% "https://send-anywhere.com/web/v1/device?api_key=%API_KEY%&profile_name=SendAnywhereSDK"

ECHO.
EXIT /b

:NOT_INSTALLED
ECHO curl is not installed!
EXIT /b
Se puede ejecutar directamente en HMG solo hay que instalar Curl desde https://curl.haxx.se/windows/
dentro del directorio se encuentran las LIB libcurl.a para trabajar con el enlazador Mingw que usa Harbour.
otra opcion es compilar desde las fuentes de Curl https://curl.haxx.se/download/curl-7.70.0.zip descargar OpenSSL desde https://slproweb.com/products/Win32OpenSSL.html y generar las LIBs necesarias.
ya hace tiempo comente como generar las LIBs de CURLs.

It can be run directly in HMG just install Curl from https://curl.haxx.se/windows/
Libcurl.a libraries are located inside the directory to work with the Mingw linker that Harbour uses.
another option is to compile from Curl sources https://curl.haxx.se/download/curl-7.70.0.zip
download OpenSSL from https://slproweb.com/products/Win32OpenSSL.html and generate the necessary LIBs.
Some time ago I discussed how to generate LIBs from CURLs.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
ASESORMIX
Posts: 192
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: Ver stock de otros locales

Post by ASESORMIX »

Gracias Daniel
Post Reply