Create new GitHub OAuth app client secret using api not manually

Hi All,

  1. Are there any apis available to generate a new GitHub OAuth app client secret instead of doing it via GitHub UI manually?
  2. Are there any apis available to create a new Github OAuth app in an automated way?