Follow this guide to create authentication credentials to be able to run this code samples. If using Application Credentials (OAuth)
place the config file: app-config.json
with the generated config in the root
folder of this repository. Then it is possible to run the samples without modifying the path to the config in the code.
-
Move to the directory containing the sample you wish to run (e.g.
cd dotnet/PAEngine
). -
Run the sample. Make any necessary changes to the sample code (e.g. the OAuth 2.0 configuration file path) and run it:
dotnet run
-
Move to the directory containing the sample you wish to run (e.g.
cd java/PAEngine
). -
Run the sample. Make any necessary changes to the sample code (e.g. the OAuth 2.0 configuration file path) and run it:
gradle run
-
Install and activate python 3.7+. If you're using pyenv:
pyenv install 3.9.7 pyenv shell 3.9.7
-
Install dependencies. Move to the directory containing the sample you wish to run (e.g.
cd python/PAEngine
) and execute:poetry install
-
Run the sample. Make any necessary changes to the sample code (e.g. the OAuth 2.0 configuration file path) and run it:
poetry run python sample.py
-
Download and install Node.js 14.19 or greater.
-
Install Yarn. If you're using the terminal:
npm install --global yarn
-
Move to the directory containing the sample you wish to run (e.g.
cd typescript/PAEngine
). Install dependencies.yarn install
-
Run the sample. Make any necessary changes to the sample code (e.g. the OAuth 2.0 configuration file path) and run it:
yarn start
Please refer to the contributing guide.
Copyright 2022 FactSet Research Systems Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.