get_default_bedbase_api

Function get_default_bedbase_api 

Source
pub fn get_default_bedbase_api() -> String
Expand description

Returns the default BEDbase API endpoint URL.

The API endpoint is determined in the following priority order:

  1. BEDBASE_API environment variable if set
  2. https://api.bedbase.org as the default

§Returns

A String containing the BEDbase API endpoint URL.

§Examples

use gtars_bbcache::utils::get_default_bedbase_api;

let api_url = get_default_bedbase_api();
println!("Using BEDbase API at: {}", api_url);

§Environment Variables

  • BEDBASE_API: Custom BEDbase API endpoint