api

  1. A

    Android Question Accessing What3words with B4A in Offline Mode to Send an SOS message when Off-Grid

    Please correct me; as I understand the What3words API needs to be used with internet access. Am I correct? Is there any way for a B4A program to access the API 'offline', i.e to generate the three words from Lat/Long using the API? If yes, how may this be done? Any code snippet will help me get...
  2. aeric

    B4J Code Snippet JSON Web Token (auth0/java-jwt)

    You can use this class to generate JSON Web Token (JWT) for use in Web API B4J Server. This code is using JavaObject from Java JWT github project (https://github.com/auth0/java-jwt) by Auth0. I only add support for HMAC algorithms. If you want, you can modify this code to support RSA and ECDSA...
  3. Lakhtin_V

    Android Question Need an example of using the Request API

    I'm new to using API technologies, where you can see a complete example that allows you to make a request to a production server and get a response. I hope the example will be created using the simplest WORKING WEB server. I can't find an example of how to start a communication session and get...
  4. K

    B4J Question Http job fails after building standalone package

    Hi All, I am fetching the current date from "https://www.timeapi.io/api/Time/current/zone?timeZone=Asia/Kolkata" API. The http job works perfectly when the project run in b4j IDE, but when after building to standalone package, http job always fails. attached the zip project for reference and...
  5. Daniel44

    Android Question [SOLVED]Casting issues within a For Each iterating data from an API

    Hey! I'm working with my API made in PHP . Afer I got logged it returns an Access Token and a Refresh Token in json format. Like this: Postman: { "statusCode": 201, "success": true, "messages": [], "data": { "session_id": 9, "access_token"...
  6. DarkoT

    B4J Question OpenRoute or OpenStreetMap - how to use?

    Hi guys, I need to create small desktop application which will show the users some direction between two points on map. User need to input first adress and second adress and I will show him the road from start to end point. I found API for this on OpenRoute or OpenStreet Map (okey, basicaly I...
  7. W

    Android Code Snippet Conversion from CUrl to B4A

    It is quite convenient to upload images to public cloud server and share the image link to other people rather than share the real image files directly! The following code snippets showed how to upload and search images by CUrl command (provided by: https://apidocs.imgur.com/) and by B4A syntax...
  8. mmieher

    Android Question AWS DynamoDB Hash Confusion

    Based on this model: https://www.b4x.com/android/forum/threads/amazon-web-services-s3-v4-signature-calculator.81006/ Thanks, @JackKirk ! I have been trying for days to get the AWS API Gateway to work. I am apparently not constructing the request correctly, because I get this response after...
  9. Abdull Cadre

    Share My Creation [Free] Weather App

    Building a Weather App One of my recent projects required me to build a weather app that would work with an API of my choice. This was my first introduction to working with a weather API, so I knew there was going to be a steep learning curve, but I was excited about the chance to finally get...
  10. aeric

    Share My Creation Web API Template

    Web API Template Version: 1.15 Description: A boilerplate for creating REST API Server with database CRUD functionalities. Updates: Web API Template 2.0 (beta) is available https://www.b4x.com/android/forum/threads/web-api-template-2-beta.143310/ Depends on following libraries...
  11. rezaghasmi

    Android Question Problem with translator api key

    Hello friends I used this api http://api.mymemory.translated.net/get in my project, then I realized that there is a limit. To remove the limit, I have to make a key. I made a key, but I do not know where to put the project. Please help. Sub Process_Globals End Sub Sub Globals Private...
  12. carlos7000

    Spanish Invalid API-key, IP, or permissions for action. [Solucionado]

    Hola. Estoy tratado de obtener información sobre mi cuenta en Binance, empleando la Api de dicha empresa. De la Api voy a emplear la funcion: Para ello escribí el siguiente programa en B4J #Region Project Attributes #MainFormWidth: 600 #MainFormHeight: 600 #End Region Sub...
  13. rezaghasmi

    Android Question Rajeb api translator question

    Hello friends I am writing a project Which is part of the translation After several uses, it does not work anymore This api http://api.mymemory.translated.net/get Is there a limit to this api? If so, is there a free api?
  14. aeric

    B4J Question [Solved] Posting JSON to Shopee API

    Shopee is an e-commerce platform. The documentation for their Open API is avaialble at https://open.shopee.com/documents?module=63&type=2&id=53 I have developed a B4J Non-UI app but unable to get the expected results. B4J: When I use Postman to post the request, I get the correct result...
  15. aeric

    Share My Creation JQuiz - API Server / Web Service for B4XQuiz (with SSL)

    This is the full source code for B4XQuiz server. For the B4J client app, please check: https://www.b4x.com/android/forum/threads/b4jquiz-desktop-app.124202/ SQL script to generate database in post #2 SSL Tutorial: [Server] Using Let's Encrypt on Ubuntu VPS 'Non-UI application (console / server...
  16. aeric

    B4J Tutorial [Server] Using Let's Encrypt on Ubuntu VPS

    #1 How to: Install Let's Encrypt on Ubuntu Linux VPS to Create SSL Certificates Downloading and Installing Let's Encrypt 1. Update the server's packages apt-get update & sudo apt-get upgrade 2. Install the GIT package apt-get install git 3. Download a clone of Let's Encrypt from the GitHub...
  17. cklester

    B4J Question Using An External Java Library with B4J

    I did a search for "use external java library," but didn't seem to find relevant links. I'm sure there's some documentation out there! Maybe I should search the Booklets. I will! But first: What would I need to do to utilize the XChange Java Library in my B4J project?
  18. Lucas Siqueira

    Share My Creation [B4XPAGES] YOUR COINS - CODE B4X - CURRENCY QUOTES

    Hi, my name is Lucas Siqueira 🇧🇷 ! I am very happy 😁 to share with you the designer at B4XPAGES. This code queries currency quotes using the free https://exchangerate.host/ api. I also implemented a designer with progress while the app makes the http request to get the data via json and...
  19. Soroush68

    Android Question Problem in running final apk on mobile

    Hi every body I have recently started programing with b4a. I have a problem at first. I cannot run final android app on my mobile. I copy the apk file from project folder on my computer to my mobile. But when i try to install and run it, I get a security warning! When trying to run the app, I...
  20. carlos7000

    Android Question Autenticacion Https API [solved]

    Hi. I am trying to create a simple application that allows me to interact with Poloniex Https server. To do this I must use your Api. Try to run the returnBalances command, to know my balances. The code I used was this: Private Sub returnBalances Dim command As String command =...
Top