B4A Library GSheet Library (integrate google sheets into your B4X apps easily)

fernando1987

Active Member
Licensed User
Dear Abbas818,

I’m pleased to inform you that the GSheets library has been succe

To download it, please follow these s

Log in to your account at https://b4xapp.com
Go to the "My Purchases" sectio
Look for the GSheets library and click on the download link.
For more detailed instructions, you can refer to this article:
If you encounter any issues or need assistance, feel free to reach out to me. I’ll be happy to
 
Last edited:

Abbas818

Member
Thanks a lot you Fernando
I appreciate your kindness.
 

Abbas818

Member
Dear Fernando
Thanks for sharing your good library
Unfortunatly I am beginer in B4A.
I tried to use Gsheetplus library. I only want to read and write a string value in a specefic cell for example Cell A5 in a sheet. I saw your example "hojs-de-google" but it is very complicated for me.
Can you please share me a simple example to read and write to a specefic cell?
Thanks
 

fernando1987

Active Member
Licensed User
The example clearly demonstrates the four main functions: read, update, write, and delete. However, it is essential to first configure a home screen in your Google Console, generate the required keys, and enable permissions for the necessary APIs.

Remember that your application's name must be linked to the API key you generated. It is recommended to follow the tutorial videos mentioned in the first post and ensure the package name matches the one assigned to the generated key. Please verify and correctly configure your Google Cloud Console to ensure everything works as expected.


 

Abbas818

Member
Don't forget this
View attachment 159657

Also enable the Google Drive API and the Google Shets API.
Dear Fernando
I followed the instruction and tried to test your example. It runs but when it wants to connect to my account and I confirm it , the browser open google.com and nothing happens. Whenever i use the app this will happens. Please see the file I attached.
 

Abbas818

Member
 

Attachments

  • Screenshot_20241220_131750.jpg
    244 KB · Views: 23
  • Screenshot_20241220_131812_Chrome.jpg
    200 KB · Views: 22
  • Screenshot_20241220_131826_Chrome.jpg
    329 KB · Views: 22
  • Screenshot_20241220_131845_Chrome.jpg
    387.6 KB · Views: 20
  • Screenshot_20241220_131916_Chrome.jpg
    139.3 KB · Views: 18
  • Screenshot_20241220_131931.jpg
    161.5 KB · Views: 18
  • Screenshot_20241220_131944.jpg
    127.8 KB · Views: 20

fernando1987

Active Member
Licensed User
Hello, could you please send me the code, the example that you modified and with which you have problems, so I can review it?
 

fernando1987

Active Member
Licensed User
Here is a functional example that creates a spreadsheet in Google Sheets, saves its ID and name in a database, and specifically modifies the value of cell A5 in the generated sheet.

Example Explanation:

  1. Spreadsheet Creation:
    The example uses the Google Sheets API tools to create a new spreadsheet. Once created, its unique ID and assigned name are retrieved.
  2. Database Storage:
    The spreadsheet's ID and name are saved in a database for future management and reference. This simplifies linking it to other operations or applications.
  3. Modifying Cell A5:
    After creating the spreadsheet, the code directly accesses cell A5 and updates its content to a specific value. This step demonstrates how to interact with specific cells within a spreadsheet.
This example is perfect for understanding how to automate the creation, management, and updating of spreadsheets through code while integrating them with a database for more efficient control.
 

Attachments

  • ejample.zip
    11 KB · Views: 8

fernando1987

Active Member
Licensed User

Version 9.5 Now Available!

We’re excited to announce the release of Version 9.5 with significant code corrections and performance enhancements!

How to Download the Update:​

If you’ve already purchased a previous version, simply log in to your user panel on our store at b4xapp.com using your credentials.

  1. Navigate to the "Recent Orders" section.
  2. Locate your purchase of Gsheets or GsheetsPlus.
  3. Click the download option to get the latest version at no additional cost.
Enjoy the improvements and let us know what you think!


Limited-Time Offer!
Take advantage of 50% OFF on all codes and libraries in our store until January 5, 2025! Don't miss this opportunity to expand your toolkit at half the price.

Visit b4xapp.com now and save big!
 

DonManfred

Expert
Licensed User
Longtime User

fernando1987

Active Member
Licensed User
On the link https://b4xapp.com/item/magic-api-
i see a related product


Clicking on it results in a 404 Error

I apologize for the earlier inconvenience; the link is now active again and accessible. You can view it without any issues. In fact, all my libraries related to API integrations are developed using that program because it has the capability to generate the necessary B4X code for seamless API communication. Its efficiency and compatibility have been instrumental in my development workflow.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…