Drupal 6 Integration

I am trying to integrate Algolia Search with Drupal 6.40 Site. The only resource I get is this module https://www.drupal.org/project/search_api_algolia. But this module uses entity and search APIs and is not for Drupal 6. So how can I integrate Algoiia with Drupal 6? How do I get all the data for indexing?