Hi, I mean summing within the contour.
2 \pi x \sum residues = Integral around the contour.
You can also use the Laurent Expansion and finding the first principle coefficient.
I am unsure what method you would use when presented with a complex integration,
Regards,