Skip to content

Commit 7a23bb1

Browse files
feat(api): manual updates
1 parent 34d2df4 commit 7a23bb1

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-d9763d006969b49a1473851069fdfa429eb13133b64103a62963bb70ddb22305.yml
33
openapi_spec_hash: 6aee689b7a759b12c85c088c15e29bc0
4-
config_hash: 4ab3e1ee76a463e0ed214541260ee12e
4+
config_hash: 5509bb7a961ae2e79114b24c381606d4

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It is generated with [Stainless](https://www.stainless.com/).
66

77
## Documentation
88

9-
The REST API documentation can be found on [docs.casparser.in](https://docs.casparser.in).
9+
The REST API documentation can be found on [casparser.in](https://casparser.in/docs).
1010

1111
## Installation
1212

@@ -40,10 +40,7 @@ Parameters with a default value must be set by name.
4040

4141
use CasParser\Client;
4242

43-
$client = new Client(
44-
apiKey: getenv('CAS_PARSER_API_KEY') ?: 'My API Key',
45-
environment: 'environment_1',
46-
);
43+
$client = new Client(apiKey: getenv('CAS_PARSER_API_KEY') ?: 'My API Key');
4744

4845
$response = $client->credits->check();
4946

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function __construct(
101101

102102
$baseUrl ??= Util::getenv(
103103
'CAS_PARSER_BASE_URL'
104-
) ?: 'https://portfolio-parser.api.casparser.in';
104+
) ?: 'https://api.casparser.in';
105105

106106
$options = RequestOptions::parse(
107107
RequestOptions::with(

0 commit comments

Comments
 (0)