Creating Gateway using python chirpstack-api

channel = grpc.insecure_channel(server)
client = api.GatewayServiceStub(channel)
auth_token = [(“authorization”, “Bearer %s” % api_token)]
gateway = api.GatewayServiceServicer()

I want to create a gateway using python but this create function is asking request and context parameters.kindly share some sample codes for this

There is not much difference between creating a gateway or enqueuing a downlink, please see this example:

However, you need to pass a CreateGatewayRequest object to the Create method. Please see:

1 Like