-
Notifications
You must be signed in to change notification settings - Fork 11
Configuration
Sanif Himani edited this page Apr 24, 2024
·
3 revisions
To interact with the API, you must provide a valid auth token. This token can be generated from the Administration tab on Monday.com. For more authentication information, please look at monday.com's API documentation.
Once you have the authentication token, you can choose to configure the library globally or for a specific client.
To configure the library globally, you can do the following:
require "monday_ruby"
Monday.configure do |config|
config.token = <AUTH_TOKEN>
endTo configure it for a client, you can do the following:
require "monday_ruby"
client = Monday::Client.new(token: <AUTH_TOKEN>)You can optionally pass in the version of the API you want to use using the version configuration field.
By default, the latest stable version is used. Read more about the version on monday.com's official documentation.
require "monday_ruby"
Monday.configure do |config|
config.token = <AUTH_TOKEN>
config.version = "2023-10"
endNow that your client is configured:
- Explore the Client Documentation for detailed guidance on using the client to interact with the API.
- Refer to the specific resource pages in the sidebar for comprehensive API interactions.
Repository · Issues · Contributing · License
- Home
- Getting Started
- Quick Start Guide
- Configuration
- Client Usage
- Response
- Error Handling
- Migrating from 0.x to 1.x
- Boards
- Create Board
- Duplicate Board
- Update Board
- Archive Board
- Delete Board
- Delete Board Subscribers