You can install the package via composer:
composer require jonathanm10/pinecone-client
$client = Pinecone::init([
'api_key' => 'xxxx-xxx-xxxx-xxxx',
'environment' => 'us-east-1-aws',
]);
// Accessing the index API
$client->index();
// Accessing the vector API
$client->vector();
All Pinecone's methods are available as methods on the client: https://docs.pinecone.io/reference/describe_index_stats_post
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.